🎓 A1Learner
🔍
0 of 50 lessons completed

Home / React Beginner

React Beginner

React from a first component to a finished task app: JSX, components, props, events, state, Hooks, lists and keys, conditional rendering, forms and fetching data. Every example renders for real with React 19.3.1.

React builds user interfaces from small components, and this course teaches it from the first component to a finished task app. The course holds fifty short lessons, from JSX to Hooks, lists, forms, and fetching data. Every example rendered for real with React 19.3.1 and Vite 8.3.7.

Start learning ❯❯50 lessons · 12 topics · 0/50 completed

Course contents

Work top to bottom — the sidebar is the course. Topics later in the list assume the ones before them.

Getting Started

Start: React Introduction ❯

JSX

Start: JSX Expressions ❯

Components

Start: Components Introduction ❯

Props

Start: Props Introduction ❯

Events

Start: Handling Events ❯

State

Start: useState Introduction ❯

Hooks

Start: Hooks Introduction ❯

Lists and Keys

Start: Rendering Lists ❯

Conditional Rendering

Start: Conditional Rendering ❯

Forms

Start: Controlled Inputs ❯

Data and Effects

Start: Fetching Data ❯

Capstone: A Task App

Beginner · ⏱ 5 min · standalone lesson

Learn React

React is a library for building what a user sees and touches on a page. A page in React is made of components. A component is a function that returns markup for one part of the page. Small components join into bigger ones, and the whole page grows from those parts. The course starts with a first component and ends with a working task app.

The course moves one idea at a time, and each lesson leans on the ones before it. JSX and components come first, then props and events. State follows, with its own group for Hooks after that. Lists and keys arrive next, then conditional rendering and forms. Fetching data ends the teaching part, and the capstone pulls everything into a single app.

Fifty lessons fill eleven groups, and the capstone sits apart as its own entry. Every closing example is a full component, rendered for real with React 19.3.1. Each page shows the markup that render produced. An interactive example shows its first render, and the words beside it explain the click that follows.

What you will learn

Seventeen things the course teaches, in teaching order:

  • Set up a React project with Vite and render a first component
  • Write JSX with expressions, attributes, and fragments
  • Split a page into components and reuse them
  • Pass data down with props, default props, and children
  • Handle clicks and form events, and read the event object
  • Keep changing values in state with useState
  • Share state between components by lifting it up
  • Run side effects with useEffect, including cleanup
  • Hold a value across renders with useRef
  • Share a value through a tree with useContext
  • Write a custom Hook and reuse it
  • Render lists with map and track each item with a key
  • Filter and sort lists before rendering them
  • Show one thing or another with conditional rendering
  • Build controlled forms with inputs, checkboxes, and selects
  • Fetch data, show a loading state, and handle an error
  • Finish a task app that ties the course together

Who this React course is for

No React knowledge is needed. The opening lessons explain a component before any Hook shows up. A new word gets its meaning in the first example that uses it. Some JavaScript goes a long way: variables, functions, objects, arrays, and arrow functions. Readers short on that JavaScript should start with the JavaScript Beginner course instead.

The whole course runs three hours and forty-nine minutes. Hooks and state take the longest for most readers. Going slowly there is fine. A second pass over those two groups pays off.

People heading for front-end work get a gentle start before bigger frameworks arrive. Hobbyists with a small interactive page in mind get the grounding a React app asks for. Readers who know plain HTML and JavaScript see the same page rebuilt from components. Fixed markup turns into components, and listeners turn into state that draws the page again.

How this course works

Every example rendered for real with React 19.3.1 and Vite 8.3.7. Each page prints the markup its render actually gave. Interactive examples print the first render, and a second render with the changed state value backs every claim about what a click does. Effect lessons print the first render too, since effects run after a page mounts.

Each lesson ends with a working component and one question. The lessons keep one fixed order. Events come before state, because state answers events. State comes before Hooks, because Hooks manage state. Components come before lists, because lists are made of components. Your progress is saved in this browser alone. Nothing here needs an account or a payment.

Frequently asked questions

Is JavaScript required first?

A little JavaScript goes a long way: variables, functions, objects, arrays, and arrow functions. Each React idea opens with its own definition, while JavaScript itself stays outside this course. The JavaScript Beginner course teaches the JavaScript used here.

Do I need to install anything to follow the course?

Yes, for the code on your own machine. The lessons use Vite, which needs Node.js. Install Node.js from nodejs.org, then run the one create command from the second lesson. The page still shows every result, so reading needs nothing installed.

What version of React does the course use?

React 19.3.1 with Vite 8.3.7. Every example rendered for real on those versions, and each page prints the markup its render actually gave. Interactive examples print the first render, and the text says what a click does next.

Do I need to know Hooks before I start?

No. Hooks arrive in their own group, after state and events have landed. Each Hook gets its own lesson: useState first, then useEffect, useRef, and useContext, and a custom Hook last.

What will I have made by the end?

A small task app: tasks added through a form, marked done with a click, and filtered by All, Active, and Done. The capstone joins components, props, state, lists, forms, and conditional rendering into one working app.

Next steps

  • JavaScript ❯ — Start here for the JavaScript underneath React: 55 lessons, from a first program to classes, JSON, and timers.
  • JavaScript Intermediate ❯ — Take the language further: 50 lessons that cover closures, prototypes, promises, async code, and fetch.
  • Node.js ❯ — Give your React app a server to talk to. The Node.js course holds 50 lessons on modules, npm, the event loop, Express routes, and a REST API.