🔗 Companion section
Where
../frontend/react/ (4 bundles) teaches the basics, this section goes deep.
frontend/react/ →
Phase 1 — Hooks Mastery
The foundation of advanced React: useReducer, useRef, useMemo, Context, custom hooks, useLayoutEffect.
01 ★
useReducer
dispatch table, state machines
anchor
02useRef & DOM
mutable refs, DOM access, timers
03useMemo & useCallback
memoization, referential equality
04Context API
Provider/Consumer, context splits
05Custom Hooks
useDebounce, useLocalStorage, useFetch
06useLayoutEffect
paint timing, DOM measurement
Phase 2 — Component Patterns
Composition techniques for flexible, reusable component APIs.
07
Compound Components
implicit state via context
08Render Props
function-as-child composition
09Headless UI Pattern
state reducer + prop getters
10Controlled vs Uncontrolled
form inputs, key-based reset
11Error Boundaries
catching render errors, fallback UI
12forwardRef & useImperativeHandle
exposing child APIs to parents
Phase 3 — Concurrent React & React 19
Suspense, transitions, deferred values, external stores, form actions.
Phase 4 — Performance
React.memo, re-render profiling, virtualized lists, code splitting.
Phase 5 — Animations
CSS transitions, View Transitions API, Framer Motion, spring physics.
Phase 6 — TanStack Router Deep Dive
The full course: route tree internals, type inference, loaders, search params, preloading, nested context, code splitting, auth patterns, devtools.
27
Router Fundamentals
route tree, history, matching
intro
28Route Tree Internals
compilation, linearization, matching
29Type Inference
how definitions propagate types
30Search Param Validation
Zod/Valibot schemas, defaults
killer feature
31Loader Lifecycle
beforeLoad → loader → component
32Navigation & Preloading
intent-based, dedup, prefetch
33Nested & Context
Outlet, layout routes, context flow
34Code Splitting
createLazy, route-level splitting
35Advanced Patterns
auth routes, blocking, masking
36DevTools
route tree viz, inspector, profiling
Each bundle = a working zero-dep
.html demo with a [check: OK] gold-check + a static .md guide.
Styling: Tailwind v4 via CDN. React 19 via ESM CDN + Babel standalone.
Workflow: ../skills/concept-builder/SKILL.md. Build plan: TODO.md.