React · Lesson 75 of 120
Advanced Quiz
Test yourself.
Let's review routing and the advanced features. Pause after each question, and answer before I do.
- Advanced quiz
- Pause and think
- Then check
Question 1
Which hook reads the id from a path like products slash colon i d? Use params.
Quick check
To read :id from the path:
Question 2
Which component shows the child route inside a layout? Outlet.
Quick check
A layout shows child pages with:
Question 3
How do you mark an update as not urgent? Wrap it in start transition.
Quick check
Non urgent updates go in:
Question 4
What catches errors thrown while rendering? An error boundary.
Quick check
Render errors are caught by:
Summary
Well done. Next, a new section on React nineteen's newest features.
Key takeaways- Routing
- Transitions
- Boundaries
Next up: useActionState — React 19 forms