Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
React from Scratch: Learn React 19 by Building Real Apps
New
1 students

React from Scratch: Learn React 19 by Building Real Apps

From your first component to a deployed app: hooks, routing, forms, TypeScript, testing and TanStack Query
Created byKishan Kumar
Last updated 11/2026
English
English

What you'll learn

  • Build React 19 apps from scratch with Vite, components, JSX and props
  • Manage state with useState, useReducer, Context and custom hooks
  • Fetch data with useEffect and TanStack Query, with proper loading and error states
  • Add pages with React Router, including URL params, nested routes and protected routes
  • Build forms the classic way and with React 19 actions, useActionState and useFormStatus
  • Use TypeScript with React, test components with Vitest and Testing Library, and deploy to Netlify or Vercel

Course content

10 sections • 30 lectures • 4h 17m total length
  • Your First React App (Vite + React 19, Beginner Friendly)8:23

    Start learning React by writing real code. We create a project with Vite, tour the three files that matter, delete the starter code and write our first component from scratch.

    Commands: npm create vite@latest my-first-app -- --template react, then cd my-first-app, npm install and npm run dev.

    The finished code for this lecture is attached as a downloadable resource.

  • JSX Explained: The 5 Rules Every Beginner Needs8:00

    JSX looks like HTML but it is JavaScript in disguise. Five rules, one small example, and the most common beginner mistake (forgetting the curly braces). The finished code for this lecture is attached as a downloadable resource.

  • Components: Split, Reuse, Import and Export8:01

    Break one big component into small reusable pieces. Why the capital letter matters, one component per file, export and import, and components inside components. The finished code for this lecture is attached as a downloadable resource.

  • Props: Send Data Into Your Components8:06

    One Card component, three different people. Passing and receiving props, the "81 years" string bug, destructuring, default values and the children prop. The finished code for this lecture is attached as a downloadable resource.

Requirements

  • Basic HTML, CSS and JavaScript (variables, functions, arrays and objects)
  • A computer with Node.js installed and a code editor such as VS Code
  • No previous React experience is needed

Description

This course contains the use of artificial intelligence.

React from Scratch takes you from your very first component to a complete app deployed on the internet, using React 19 and Vite.

Every lecture is live coding. You watch the code being written line by line, you see the real error messages beginners hit, and you learn how to read them and fix them. Each lecture ends with a short recap and a small challenge so you can practise on your own.

What makes this course different:

  • Mistakes on purpose. Almost every lecture breaks something on purpose (the infinite fetch loop, the "0 on the page" bug, the missing key, the missing provider) and then fixes it, so you recognise these problems in your own projects.
  • Modern React only. React 19, Vite, function components and hooks, React 19 form actions, the React Compiler, TanStack Query and React Router.
  • Two projects. A to-do app halfway through, and a multi-page movie watchlist app as the capstone, deployed to Netlify or Vercel.
  • Tested code. All the code was tested with React 19 and Vite, and the finished code for each lecture is attached as a download.

What you will cover:

  • The basics: Vite setup, JSX, components, props, state, events, conditional rendering, lists and keys
  • Forms, lifting state up and styling (CSS files, classes, inline styles, CSS Modules)
  • useEffect, fetching data, loading and error states, useRef
  • Custom hooks, Context, useReducer
  • React Router, React 19 forms (useActionState, useFormStatus)
  • Performance (memo, useCallback, useMemo, the React Compiler), Suspense, lazy loading and error boundaries
  • TypeScript with React, project structure, testing with Vitest and Testing Library, TanStack Query, authentication and protected routes
  • A capstone project, production build and deployment

The course has 30 lectures in 10 sections, about 4 hours and 20 minutes of video, with English captions on every lecture.

How this course was made: AI tools were used to create it. The narration is an AI-generated voice, and AI helped write the scripts, the code examples and the visuals. All the code was tested with React 19 and Vite. If you get stuck, ask in the Q&A.

Who this course is for: anyone who knows basic JavaScript and wants to learn modern React properly, from zero to a deployed app.

Who this course is for:

  • Beginners who know some JavaScript and want to learn React properly
  • Developers coming from other frameworks or older React who want modern React 19
  • Self-taught developers who want to understand why things break, not just copy code
  • Anyone preparing for a junior front-end role