Idea: basic principles front end development
The stuff that is evergreen: basic facts and techniques
The web moves fast. Decouple the fads from the basic principles that don't change.
This could be a short book that teaches you how to think.
- Event loop: implicit multi threading
- DOM as tree structure
- How to debug: find the
class
or other attribute - Where to put data: DOM or JS
- DOM: jQuery-ish approach
- JS: better for bigger things
- The JS - DOM connection: pointers to els
Maybe break it into beginner, intermediate, advanced level stuff.
- The DOM is slow; avoid touching it (store things on the JS side instead)
- Throttling and debouncing