Quiz · 4 questions
🪝 Hooks in 2026
Every hook that earns its keep, plus the rules React 19 finally relaxed
Level 0React Novice
0 XP0/54 lessons0/12 achievements
0/100 XP to next level100 XP to go0% complete
Quiz
01You write
const [count, setCount] = useState(getInitialFromExpensiveCalc()). What's wrong, and how do you fix it?02Your useEffect runs on every render even though you wrote it to run once. What's the likely cause?
03What is the Rule of Hooks that React 19 finally relaxed?
04When does a custom hook help compared to extracting a regular function?
Comments 0
🔔 Reply notifications (sign in)Sign in — Please sign in to comment.
No comments yet — be the first.