Learn react
Short lessons written around the screening tests employers use. Read one, then take the test.
State, props and how React re-rendersUnderstand what triggers a render, why state updates are not instant, and how to share state between components.Lesson 1
useEffect, useMemo and rendering listsUse effects only for syncing with the outside world, memoise only real costs, and give list items stable keys.Lesson 2
Controlled forms, validation and submit handlingBind inputs to state with one change handler, validate before submit, and avoid the warnings that reveal form mistakes.Lesson 3
Fetching data: loading, errors, cleanup and custom hooksLoad data in an effect with loading and error state, cancel stale requests, and move the logic into a reusable hook.Lesson 4
Advertisement