React: Basic to Advanced
From your first component to hooks, rendering internals, performance, React 19 and Server Components.
- modules
- 17
- topics
- 97
- exercises
- 294
- of practice
- 83 h 20 min
About this course
React from basic to advanced in easy English: why React exists, components and props, events and lists, state, hooks in depth, forms, data fetching, how React renders (virtual DOM, reconciliation, Fiber), routing, patterns, performance, state management, concurrent features and React 19, server rendering and Server Components, and testing. Every topic has step-by-step lessons, quizzes, hands-on exercises and interview questions.
What you'll learn
17 modules and 97 topics. Every topic has short lessons, a quiz, hands-on exercises checked in your browser, and interview questions.
1The Problem React Solves
Build one app four ways (vanilla DOM, your own createElement, React.createElement, then JSX) to feel why React exists.
- Movie Watch List (vanilla JS)
- Movie App with Your Own createElement
- Refactor with React and ReactDOM
- Movie App with JSX
- JSX Under the Hood
2Components & Props
Practises splitting UI into components, passing props, rendering lists and validating props.
- Article Card with JSX
- Article and Articles Components
- Props, Children & Composition
- Break a Layout into Components
- Gizmo News App
- Add PropTypes to the Articles App
3Events, Lists & Reusable Components
Practises event handlers, keys, conditional rendering and designing component APIs.
- Understanding Events
- List of All Countries
- Keys in Lists
- Convert Static HTML to React
- User Cards
- Button Design System
- Color Palette Structure
4State
Practises useState / this.state, updating state from events and deriving UI from state.
- Show Image
- Counter with Steps and Max
- GOT Match Game
- Accordion FAQ
- Food Menu with Category Filter
- Movie List with Modal
- Modal and Sidebar
- Font Tester
- Notification Component Types
5Hooks in Depth
useState, useEffect, useRef, useReducer, useContext, custom hooks, the Rules of Hooks, useId and useLayoutEffect, explained from the ground up.
- useState in Depth
- useEffect in Depth
- useRef in Depth
- useReducer in Depth
- useContext in Depth
- Custom Hooks
- The Rules of Hooks
- useId and useLayoutEffect
- Hooks in Depth — assessment
6Forms
Practises controlled components, multiple inputs, validation and multi-step flows.
- Controlled vs Uncontrolled Inputs
- Multiple Input Elements and Validation
- Shipping and Billing Address Form
- Multi-Step Form
7State Projects
Bigger apps that combine lists, state and derived data.
- Tic Tac Toe
- Shopping Cart
8Lifecycle & Data Fetching
Practises componentDidMount / useEffect, fetching APIs, loading states, intervals and cleanup.
- Random Person
- Stopwatch and Countdown
- Data Fetching with Effects
9How React Renders
Render and commit, the virtual DOM, reconciliation and diffing, keys and identity, Fiber, batching and StrictMode.
- Render and Commit
- The Virtual DOM
- Reconciliation and Diffing
- Keys and Component Identity
- React Fiber
- State Snapshots and Batching
- StrictMode
- How React Renders — assessment
10Routing
Practises React Router: layouts, nested routes, links and params.
- Dashboard Layout with Routes
11API Projects
Full apps combining fetching, routing and state.
- GitHub Battle
- Hacker News Clone
- Quiz App
12Reusable Logic & Advanced Patterns
Practises Higher-Order Components, render props, Context API, compound components, portals and refs, and error boundaries.
- Refactor Search with a Higher-Order Component
- Refactor Search with Render Props
- Dark Mode with Context
- Compound Components
- Portals and Refs
- Error Boundary
13Performance
Why components re-render, memo, useMemo and useCallback, the React Compiler, code splitting, context performance, long lists and the Profiler.
- Why Components Re-render
- memo, useMemo & useCallback
- React Compiler
- Code Splitting with lazy & Suspense
- Context Performance
- Virtualized Lists
- Profiling & Debugging Performance
- Performance — assessment
14State Management
Where state should live, context pitfalls, reducer + context, Flux and Redux, external stores and server state.
- Choosing Where State Lives
- Context Pitfalls & Performance
- Scaling Up with Reducer + Context
- Flux, Redux & One-Way Data Flow
- External Stores & useSyncExternalStore
- Server State & Data Caching
- State Management — assessment
15Concurrent React & React 19
Transitions, deferred values, Suspense, Actions, useActionState, useFormStatus, useOptimistic, use() and what changed in React 19.
- useTransition: Urgent vs Non-Urgent Updates
- useDeferredValue: Let Slow Parts Lag Behind
- Suspense for Data Loading
- Actions & useActionState
- useFormStatus & useOptimistic
- use(): Reading Promises and Context
- What Changed in React 19 and 19.2
- Concurrent React & React 19 — assessment
16Server Rendering & Server Components
CSR, SSR, SSG and streaming, hydration, React Server Components, the client boundary and Server Functions.
- Rendering Strategies: CSR, SSR, SSG, ISR and Streaming
- Hydration and Hydration Mismatches
- React Server Components
- The Client Boundary: 'use client' and Serializable Props
- Server Functions and 'use server'
- Server Rendering & Server Components — assessment
17Testing & Quality
React Testing Library, accessibility, debugging React apps and localisation basics.
- React Testing Library
- Accessibility in React
- Debugging React Apps
- Internationalization Basics
- Testing & Quality — assessment