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 not required, but recommended

Target Audience

Front-end and full-stack developers, tech leads, and QA engineers who build or maintain React single-page applications. Teams continuing on can move to Advanced React.

Description

This hands-on course teaches React with JavaScript. Students set up a Vite project and learn how JSX, the virtual DOM, and keys shape rendering. They build function components with props, events, and hooks, including the use hook and custom hooks. Forms with validation and form Actions come next, followed by REST APIs, the Backend-for-Frontend pattern, and React Router. The course ends with unit tests in Vitest and React Testing Library, plus optional segments on AI coding tools.

Learning Outcomes

  • Set up a React project with Vite.
  • Explain single-page architecture and where server-side rendering fits.
  • Render UI with JSX, fragments, conditional operators, and keyed lists.
  • Build reusable function components with props and the children prop.
  • Handle events and pass callbacks between components.
  • Manage state and effects with hooks, including the use hook and custom hooks.
  • 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
  • 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
  • Destructuring props and default values
  • The children prop
  • Passing functions as props
  • 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

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?