React
Start with: The React Story
Beginner → Advanced · Unit 1: Thinking in React
0 of 37 lessons0%
This course
0 of 37 lessons- Units
- 6
- Lessons
- 37
- Hours
- 11
Units
6 units01Thinking in React
6 lessons- The React StoryLearn why React exists, what problem it solved at Facebook, and how its declarative model works.Start here
- JSXWrite JSX confidently, knowing exactly what it compiles to and where it differs from HTML.
- Components and PropsSplit a UI into function components, pass data with props, children and slots, keep render pure, and reset state with a key.
- Lists and KeysRender arrays of data with map, and choose keys that keep each row's state attached to the right item.
- Conditional RenderingShow different UI for different data with early returns, ternaries, && and null, and avoid the stray 0 bug.
- Handling EventsRespond to clicks, typing and form submits, pass handlers correctly, and control event bubbling.