Architecture and Patterns
Structure a React codebase that grows: feature folders, component APIs, logic apart from UI, an error strategy, i18n, large-app boundaries and anti-pattern fixes.
By now you can build almost any screen. This phase is about the code around the screens: where files go, how a component's props are designed so other people can use it, how logic is kept apart from markup, where errors are caught, how text and numbers adapt to every language, and how a codebase stays healthy when ten or a hundred people work on it.
Architecture can sound abstract, so every topic here is concrete: a small piece of code shown before and after a refactor, running live. A single live example often pretends to be several files, with comments marking where each file would start. Real folder trees, lint configs and monorepo setups are shown as plain code blocks.
The phase builds on custom hooks and reuse patterns (Phase 10), state at scale (Phase 15), performance (Phase 16) and testing (Phase 17), and it ends with the anti-patterns that appear in almost every real codebase, each one broken and then fixed.
Practise this phase
Hands-on exercises: write the code, see your page live, and press Check to have it tested automatically.