The classic first React project, done right: immutable updates, stable keys, a tested reducer, filters in the URL, inline editing with focus management, accessible controls, and storage that survives bad data.
What you'll build
A keyboard- and screen-reader-friendly todo app with URL filters, inline editing, and safe persistence.
The todo app is the classic first React project, and that's exactly why it's worth doing well. Most versions online have subtle bugs: they mutate state, use array indexes as keys, lose keyboard focus, crash on old saved data, and can't be used without a mouse.
You'll build one that gets those details right:
localStorage, and safe against corrupted dataYou'll start with everything in App.jsx, then move the logic into a reducer you'll test, the way real apps grow:
1App.jsx state and wiring
2TodoItem.jsx one todo: checkbox, label, edit, delete
3todos.js pure logic: the reducer and the filter
4Filters.jsx the filter links
5storage.js load and save, defensively
6styles.cssWhat you'll learn: controlled inputs, immutable updates, stable keys, derived state, useReducer, URL state, focus management, and defensive persistence.
Each step has a task in the editor, a live preview, and a solution you can load if you're stuck.