Outline updated November 2026

Foundation21 hours delivered over 3-5 daysLive, online or on-site

Request this course

React Essentials

Class Duration

21 hours of live training delivered over 3-5 days to accommodate your scheduling needs

Student Prerequisites

  • Experience with HTML, CSS, and JavaScript
  • Experience with client-side web application programming and TypeScript not required, but recommended

Target Audience

Software engineers, tech leads, and front-end developers who want a practical grounding in React with TypeScript. Teams continuing on can move to Advanced React.

Description

This hands-on course teaches React with TypeScript for developers who want static typing from the start. Students set up a Vite project, then build typed function components with JSX, props, and events. Hook modules cover state, effects, the use hook, and reusable hooks with generic types. Students then build forms with form Actions, call REST APIs through a Backend-for-Frontend, and add React Router. Unit testing with Vitest and React Testing Library closes the course, and optional segments use AI tools for architecture and tests.

Learning Outcomes

  • Set up a React and TypeScript project with Vite.
  • Explain React's rendering model, JSX, and the virtual DOM.
  • Build statically typed function components with default props.
  • Handle component events and pass handlers through props.
  • Manage state and effects with hooks, including the use hook.
  • Write reusable custom hooks with TypeScript generics.
  • Build validated forms, including form Actions with useActionState.
  • Call REST APIs with fetch and the Backend-for-Frontend pattern.
  • Add routing with React Router, including params, nesting, and 404 handling.
  • Unit test components and hooks with Vitest and React Testing Library.

Training Materials

All students receive comprehensive courseware covering all topics in the course. Courseware is distributed via GitHub in the form of documentation and extensive code samples. Students practice the topics covered through challenging hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware. Students will need permission to install Node.js and Visual Studio Code on their computers. Also, students will need permission to install NPM Packages and Visual Studio Code Extensions. If students are unable to configure a local environment, a cloud-based environment can be provided.

Versions covered: React 19, React Router 8, Vite, and Vitest on a current Node.js LTS release.

Training Topics

React Project Setup

  • Creating a project with Vite
  • Folder structure
  • Browser support
  • Styles and assets
  • Dependencies
  • JavaScript vs. TypeScript
  • Setting up AI agent tools (optional)

React Overview

  • What is React?
  • Why React?
  • Single-page web application architecture
  • Server-side rendering (brief overview)

Component Rendering and JSX

  • What problem does JSX solve?
  • Embedding expressions
  • Specifying attributes
  • Using fragments
  • Virtual DOM and Fiber nodes
  • The ternary operator (? :)
  • Logical && and || operators
  • Rendering a list of data
  • Optimizing rendering with keys

Components

  • Creating an element
  • Creating a function component
  • Rendering a component
  • Composition and reuse

Component Props

  • Immutable props
  • String literals vs. expressions
  • Statically typed components
  • Default prop values
  • Naming patterns for props

Component Events

  • What are events?
  • Click and change events
  • Event handlers in function components
  • Passing event handlers via props

Component Hooks

  • What is component state?
  • The useState hook
  • The useEffect hook
  • The useCallback hook
  • The use hook
  • Custom hooks
  • Reusable hooks with generic types

Component Architecture

  • Reusable components
  • Component communication
  • Design patterns
  • Container and presentation components
  • Prop drilling
  • Defining architecture with AI tools (optional)

Capture Data with Forms

  • Controlled and uncontrolled components
  • Change logic across form controls
  • Wiring up input, textarea, and select
  • Handling different input types
  • Form validation and submission
  • Form Actions
  • useActionState and useFormStatus
  • React form hook libraries (optional)

AJAX and RESTful APIs

  • Fetch API
  • Getting data from a REST API
  • Loading data on first render with useEffect
  • Adding, replacing, and removing API data
  • The Backend-for-Frontend (BFF) pattern
  • GraphQL and Apollo (brief overview)

Routing with React Router

  • What problem does React Router solve?
  • Installation
  • Routing basics
  • Handling not found (404) routes
  • URL and query parameters
  • Nested routes
  • Framework mode (brief overview)

Unit Testing Overview

  • Vitest and React Testing Library
  • Moving from Jest to Vitest
  • What are React components tested for?
  • Tests, suites, assertions, and mocks
  • Testing DOM rendering
  • Testing event handlers with spies
  • Testing custom hooks
  • Mocking components
  • Mocking hooks
  • Generating tests with AI agent tools (optional)

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?