Practice

React Practice

Every exercise and its solutions in one place. Work through a part's exercises after reading it, and come back here to revise.

Exercises by part

Part 01 · 8 exercisesHow React runsPart 02 · 6 exercisesComponents, props and compositionPart 03 · 6 exercisesState and eventsPart 04 · 7 exercisesRendering lists and conditionalsPart 05 · 6 exercisesForms and controlled inputsPart 06 · 6 exercisesuseEffect and side effectsPart 07 · 7 exercisesCustom hooksPart 08 · 6 exercisesuseRef and the DOMPart 09 · 8 exercisesuseContextPart 10 · 7 exercisesuseReducerPart 11 · 6 exercisesFetching dataPart 12 · 9 exercisesPerformancePart 13 · 6 exercisesError boundaries and code-splittingPart 14 · 8 exercisesTesting React componentsPart 15 · 6 exercisesReact RouterPart 16 · 6 exercisesStructuring a growing app

Projects

After Part 5Menu BrowserAfter Part 10Expense Tracker UIAfter Part 14Book FinderAfter Part 16Bookstore

Search the guide