The New Model
Hooks today & the compiler
Lesson 2 of 4
Hooks still run the show — but the React Compiler auto-memoizes, and "you might not need useEffect" is now doctrine.
What you'll learn
- Confirm what's unchanged about hooks (and what isn't)
- Stop reaching for useMemo/useCallback — the compiler handles it
- Recognize effects you don't need
Members only
A free account unlocks this lesson and every other one.
Runnable challenges, knowledge checks, and progress that syncs across your devices. No card needed.
Not sure yet? Try the free lesson first: The Server Components shift