React Application Development
Build a maintainable React application with TypeScript, URL-driven navigation, API data, accessible forms, and meaningful tests.
What you will build
A team task-management SPA
Build the frontend of a team workspace using a supplied backend and authentication service. Focus on application behavior rather than building a backend in this course.
- Task creation, editing, deletion, and completion.
- Search, filters, pagination, and shareable URLs.
- Member/admin views and expired-session feedback.
- Responsive UI, accessible validation, and request states.
- Component and browser tests plus a deployed SPA.
What you will be able to do
- Compose typed components and accessible interactive forms.
- Choose between local, URL, server-cache, and shared workflow state.
- Integrate queries, pagination, mutations, and failure recovery.
- Build session-aware UI while respecting server authorization.
- Test user behavior and deploy a working SPA with nested routes.
Is this course right for you?
Complete Modern JavaScript for React or demonstrate equivalent skills with callbacks, immutable updates, modules, events, and asynchronous requests.
Entry readiness exercise
Fetch sample records, filter them, update one immutably, and explain an unsuccessful request. Passing this exercise lets you join React directly.
The curriculum
6 modules · 18 sessions
Expand a module to explore outcomes, topics, and guided exercises. Each session is 90 minutes; extensions are independent work.
01Typed components and interaction5 sessions · 7.5 hours
SESSION 01 · 90 MIN
React setup, JSX, and props
Outcome: Render reusable task cards with JSX and props.
- Development server and project files
- JSX expressions
- Rendering the root component
- Component inputs
- Typed shapes conceptually
- Rendering reusable task cards
Guided exercise: Create the app, replace the template with a task heading, and render task data using JSX. Extract TaskCard and pass different task objects into two instances.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 02 · 90 MIN
TypeScript foundations for React
Outcome: Define task types and catch invalid component inputs early.
- Object types and status unions
- Typed props and callback functions
- Reading TypeScript errors
Guided exercise: Type TaskCard props and its task model. Demonstrate an invalid status being rejected by the type checker.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 03 · 90 MIN
Component composition
Outcome: Compose small components without losing their identity.
- Children
- Combining small components
- Stable component identity
Guided exercise: Compose a dashboard from a task list, task cards, and card footer content.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 04 · 90 MIN
Events and local state
Outcome: Update visible UI through local state and event handlers.
- Event handlers
- useState
- Functional state updates
Guided exercise: Add a completion toggle and explain why updating a plain variable does not rerender the UI.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 05 · 90 MIN
Lists, keys, and conditional UI
Outcome: Render stable lists with derived filters and empty states.
- Stable record keys
- Derived filtering
- Empty states
Guided exercise: Build a searchable list with a stable ID per task and a no-results message.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
02Forms and application state3 sessions · 4.5 hours
SESSION 06 · 90 MIN
Controlled forms and validation
Outcome: Validate a controlled form and preserve input on failure.
- Input value and change handlers
- Form submission
- Local draft state
- Whitespace and length checks
- Field feedback
- Validation boundaries
Guided exercise: Create a task form that keeps its draft in state and submits without reloading. Reject invalid task titles, display an accessible message, and preserve the draft on failure.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 07 · 90 MIN
Lifting state and immutable edits
Outcome: Share state at the correct level and edit records immutably.
- Common state owner
- Callback props
- Derived counts and immutable updates
Guided exercise: Create and edit tasks in the parent list without duplicates or mutation.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 08 · 90 MIN
Effects and cleanup
Outcome: Synchronize a browser subscription and clean it up correctly.
- Rendering versus synchronization
- Dependencies
- Subscribing and cleaning up browser events
Guided exercise: Synchronize online status and explain how cleanup prevents duplicate subscriptions.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
Optional extension: Use a ref to focus the search field, then extract online status into a custom hook.
03Routing and API integration3 sessions · 4.5 hours
SESSION 09 · 90 MIN
Routing and URL state
Outcome: Navigate list and detail routes with shareable URL filters.
- BrowserRouter
- Routes and Outlet
- Navigation links
- Dynamic route parameters
- Search parameters
- Unknown-route handling
Guided exercise: Build a workspace layout with task list and detail routes. Make search filters shareable in the URL and handle missing task IDs.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 10 · 90 MIN
Queries and request states
Outcome: Load validated, paginated API data with complete request states.
- Supplied REST API
- TanStack Query
- Loading, error, and empty states
- Validating unknown JSON at the API boundary
- Pagination and query keys
Guided exercise: Load a validated page of tasks from the supplied API. Add next/previous controls and demonstrate loading, error, empty, and success states.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 11 · 90 MIN
Mutations and recovery
Outcome: Save a task and recover from a failed mutation.
- POST requests
- Pending mutation UI
- Query invalidation
- Failure feedback
Guided exercise: Create a task, refresh the list after success, and retain the draft after a failed request.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
Optional extension: Add AbortSignal support and a controlled retry flow.
04State ownership and shared workflows2 sessions · 3 hours
SESSION 12 · 90 MIN
Choosing state ownership
Outcome: Assign local, URL, and server data a single owner.
- Local state
- Server query cache
- Shareable URL state
Guided exercise: Classify dashboard data by owner and move a filter into the URL rather than duplicating it in Context.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 13 · 90 MIN
Context and reducer workflows
Outcome: Model a multistep flow with Context and reducer transitions.
- Context providers
- Reducer actions
- Multistep flow transitions
Guided exercise: Build a two-step workspace flow that retains entered data between steps.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
05Sessions and permissions2 sessions · 3 hours
SESSION 14 · 90 MIN
Session-aware interface
Outcome: Respond correctly when a user's session expires.
- Demo session lifecycle
- Expiry
- Sign-in and sign-out presentation
Guided exercise: Use the local demo session to show member UI and verify expiry after 15 seconds.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 15 · 90 MIN
Protected UI and server authorization
Outcome: Explain why client-side role checks cannot authorize a request.
- Role-based presentation
- Untrusted client roles
- Server rejection of unauthorized requests
Guided exercise: Show administrator controls in the demo UI and prove that the server still rejects access.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
06Testing and delivery3 sessions · 4.5 hours
SESSION 16 · 90 MIN
Component behavior tests
Outcome: Test form validation and successful submission through user behavior.
- Testing Library
- User interactions
- Validation and successful submission
Guided exercise: Write and run tests for whitespace rejection and successful trimmed task creation.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 17 · 90 MIN
End-to-end user journeys
Outcome: Automate independent success and failure journeys in a browser.
- Browser automation setup
- Visible outcomes
- Independent success and failure cases
Guided exercise: Add a Playwright journey that creates a task and a separate validation failure check.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
SESSION 18 · 90 MIN
Production build and SPA hosting
Outcome: Deploy a production SPA and verify direct access to nested URLs.
- Production bundle
- Preview checks
- Nested-route fallback
Guided exercise: Build and preview the app, then document how the host must serve nested SPA URLs.
Completion check: Demonstrate the outcome and explain one decision without following the worked example.
Learning support
- A standalone starter repository and environment setup guide for this course.
- Guided exercises, independent challenges, and code review checkpoints.
- A shared task-workspace project theme, without requiring earlier course code.
- A supplied REST API and authentication service; backend implementation is outside this course.
Show what you can build
- Demonstrate the required project features and handle a failure case.
- Implement a small unfamiliar feature independently and fix a seeded bug.
- Explain a design decision; review correctness, readability, accessibility, and error handling.
- Deliver the SPA independently and explain where each kind of state belongs.
The 27 guided hours cover instruction and classroom exercises. Independent practice, final-project development, and the completion review require additional time outside the 18 sessions.
Inside a 90-minute session
10 min
Recap & troubleshoot
20 min
Explain & demonstrate
35 min
Guided implementation
15 min
Independent challenge
10 min
Review & next steps