JavaScript Essentials for Programming with React
summary
Modern JavaScript for React emphasizes concrete edits: replace var with use const not var and prefer let only when mutation is necessary; drop arguments and use rest and spread to handle variable args and to merge arrays/objects; prefer for...of with destructuring and template literals for clearer code; treat arrow functions as lexically binding this/arguments and avoid bind in React; use ES modules with at most one default export and remember classes are syntax over prototypal inheritance.
AI-written summary · about
chapters (12)
- 0:00Introduction to JavaScript
- 1:24Avoid using var
- 5:59Replace arguments with rest
- 18:52Enhanced for loops
- 25:22Arrow functions
- 29:58Template literals
- 35:18Object literals
- 41:02Destructuring objects
- 43:11Spread for object copying
- 45:19Modern class syntax
- 49:14Modules in JavaScript
- 52:47Summary and Q&A
related talks
01h 01mRediscovering JavaScript
49mJavaScript: The Fascinating Parts
26mElegant React with ES6 (and a bit of ES7)
45mHuman Readable JavaScript: Using ES2015+ to Craft Better Code
27mUnderstanding JavaScript Libraries via React and the React Ecosystem
01h 02mJavaScript the Cute Parts
44mJavaScript in 2017: You might (not) need a framework
26mThe JS You Need to Know Before Learning React
