Modern React From The Beginning

Learn React from the ground up along with modern environments such as React Router v7, TanStack, MERN, etc

  • 0.0 (0 Reviews)
  • 0 Students
  • 247 Lessons
  • Brad Traversy

Course Overview

Unlock the full potential of React in 2025 with this comprehensive, beginner-friendly course that goes beyond the basics. Whether you're brand new to React or want to deepen your understanding of its modern features, this course will give you the practical skills you need to build real-world applications using today’s best practices.

You'll start by learning React fundamentals in a highly structured, easy-to-digest format. We will be building projects as you learn.


Here are some of the concepts you will learn:


  • The fundamentals: JSX, components, props, state, and events

  • The entire lifecycle of a React component

  • All the core React hooks – useState, useEffect, useRef, useContext and more

  • Best practices for functional components in modern React

  • Conditional rendering patterns (ternary vs &&)

  • Organizing files, reusable components, and clean architecture

  • Advanced routing with React Router v7 including declarative and framework mode with SSR

  • Data fetching and caching with TanStack Query

  • Real-world debugging using React DevTools, network tab, and logging

  • Secure authentication with access & refresh tokens using HTTP-only cookies

  • Full stack MERN development

  • Deployment using Vercel (frontend) and Render (backend)


Premium Docs:

You will have access to the premium docs, which is basically the entire course in text/Markdown format.


Projects:

This course has a bunch of small to medium-sized projects to build for your portfolio:


- Rating/Feedback UI - Simple star rating UI to learn the basics with. Events, props, state, etc

- Notes App - Create and delete notes from local storage. Learn about forms and state.

- Lifecycle Playground - Sandbox to learn about component lifecycle and the useEffect hook

- Simple Timer - Learn about the useRef hook and persisting data across page reloads.

- GitHub Finder - Use TanStack Query to get and send data to and from the Github API

- Crypto Dash - Use the CoinGecko API to create a dashboard for getting prices and other info from Crypto coins.

- IdeaDrop  - Full stack MERN app with TanStack Router on the frontend.

- The Friendly Dev - Portfolio website and blog built with React Router v7 and Strapi headless CMS.


See more

FAQ

FAQ area empty

Course curriculum

21 chương 247 bài học 25 giờ 34 phút 7 bài học thử miễn phí
Chương 1 Introduction & Getting Started
Chương 2 React-Related JavaScript Refresher
  • Section Intro 3:06
  • Arrow Functions 8:46
  • Template Literals 5:38
  • Ternary & Short Circuit Rendering 7:39
  • Destructuring & Rest Operator 8:00
  • Array Methods 10:08
  • Optional Chaining & Nullish Coalescing Operator 4:35
  • Immutability & Spread Operator 6:45
  • Promises & Async Await 7:55
  • Section Quiz
Chương 3 React Fundamentals - State, hooks, events, props & more
  • Section Intro 3:36
  • Quick React Setup & createElement 9:19
  • Intro To JSX (JavaScript XML) 12:10
  • Vite Build Tool Setup 9:51
  • Creating Components 4:58
  • Styling In React 6:16
  • Lists 5:44
  • Handling Events 5:48
  • Intro To State 7:45
  • Rating State 5:22
  • More on UseState Hook 5:33
  • Conditional Rendering & Styling 6:00
  • Props 7:20
  • Component Composition 12:40
  • Submit Rating 6:35
  • Modal Component Composition 5:21
  • Passing Data As Children 6:05
  • Section Quiz
Chương 4 Forms, Input & Controlled Components - Notes App Project
  • Section Intro 1:40
  • App & Tailwind Setup (v4) 5:08
  • Controlled Inputs 12:24
  • Form Data Object 5:34
  • Form Submission & Global State 7:28
  • Show Notes 5:43
  • Make Form Collapsible 6:36
  • Reusable Input Components 11:06
  • Delete Notes 4:45
  • Conditional Rendering Challenge 2:40
  • Prop Drilling 5:18
  • Section Quiz
Chương 5 Component Lifecycle & useEffect Hook
  • Section Intro 3:24
  • Component Lifecycle Explained 5:11
  • Classes & Lifecycle Methods 13:49
  • Lifecycle & useEffect 9:12
  • LocalStorage Side Effect 5:45
  • Section Quiz
Chương 6 UseRef Hook - Simple Timer Project
  • Section Intro 1:50
  • What Is useRef & Project Setup 4:42
  • UseRef In Action & Uncontrolled Inputs 6:59
  • Persist Timer Across Re-Renders 11:06
  • Component Composition Challenge 5:53
  • Auto-Focus Start Button 2:52
  • Save Timer To Local Storage 3:38
  • Section Quiz
Chương 7 Working With APIs - Crypto Dash Project
  • Section & Project Intro 2:13
  • API Info & Project Setup 6:16
  • Making HTTP Requests 8:34
  • Async/Await In useEffect 3:13
  • Display Coin Data 8:28
  • Environment Variables 7:36
  • Limit Selector 5:11
  • Filter Coins 6:41
  • Sort Order Selector 11:13
  • Section Quiz
Chương 8 React Router In Declarative Mode - Extend Crypto Dash Project
  • Intro To Routing 5:03
  • React Router Syntax 3:04
  • Homepage Route 10:56
  • About Page & Link Component 5:43
  • Not Found Page 4:53
  • Fetch Coin Details 9:22
  • Display Coin Details 13:33
  • Add Loading Spinner 5:23
  • Get & Format Chart Data 13:14
  • Show Chart 5:36
  • Section Quiz
Chương 9 Build & Deploy
  • Section Intro 1:45
  • Understanding The Build Process 3:31
  • The Build Command 6:55
  • Deploy To Vercel 6:21
  • Section Quiz
Chương 10 Context API - Shopping Cart UI
  • Section Intro 2:16
  • What Is the Context API? 4:27
  • Project Setup 4:40
  • JSON Server Setup 6:03
  • Display Product Data 12:33
  • Setup Proxy 4:25
  • Product Context 10:58
  • Cart Context 4:34
  • Add To Cart Button 8:18
  • Header & Cart Count 8:18
  • Cart Items Dropdown 8:57
  • Remove Items & Clear Cart 5:27
  • Store Cart Items To Local Storage 2:59
  • Section Quiz
Chương 11 React Router Framework Mode - Friendly Dev Project
  • Section & Project Intro 3:15
  • Project Setup & File Structure 7:44
  • Creating Routes 10:24
  • Devtools Console Error Fix 3:03
  • SSR & Client Hydration 6:22
  • Links & Navigation 7:31
  • Active Link Styling 3:05
  • Responsive Menu 6:35
  • Hero Component 7:10
  • Introduction To Types (TypeScript) 16:44
  • Layout Routes 8:39
  • Section Quiz
Chương 12 Loaders, Filterting, Pagination & More
  • Loaders Overview 3:59
  • Fetch Projects With Loader 6:17
  • Create Project Type 3:33
  • Display Loader Data 8:40
  • Dynamic Route & Client Loader 8:00
  • Details Page Output 7:19
  • Project Pagination 9:08
  • Pagination Component 6:22
  • Project Category Filter 9:51
  • Animate Project Filter 6:16
  • Featured Projects 11:36
  • Section Quiz
Chương 13 Inner Pages, Actions, Markdown Blog
  • About Page 11:43
  • Contact Page JSX 6:12
  • React Router Actions Example 8:47
  • Form Validation With Actions 7:38
  • Not Found Page 4:59
  • What Is Markdown? 4:33
  • Fetch Post Meta 8:31
  • Display Post Meta 6:26
  • Single Post & Markdown 11:25
  • Display Details Page 7:15
  • Sort Posts By Date 2:43
  • Re-Use Pagination Component 4:36
  • Blog Post Filter 9:37
  • Latest Blog Posts 14:48
  • Section Quiz
Chương 14 Strapi Headless CMS For Content - Extending Friendly Dev Project
  • Headless CMS Explained 4:31
  • Full Stack Folder Structure 5:06
  • Create Strapi Project 4:26
  • Database & Strapi Admin Setup 5:14
  • Project Content Type 8:22
  • Accessing The API 3:57
  • Fetch Projects From Strapi 6:08
  • Strapi Project Type 4:10
  • Fetch Individual Project From Strapi 7:38
  • Home Featured Projects 7:05
  • Post Content Type 6:15
  • Fetch Posts From Strapi 8:02
  • Fetch Post Details From Strapi 9:32
  • Homepage Posts From Strapi 5:26
  • Section Quiz
Chương 15 Cloudinary Images, Contact Form & Full Stack Deployment
  • Upload Images To Cloudinary 14:21
  • Formspree.io Contact Form 4:43
  • Deploy Strapi To Render.com 8:20
  • Frontend Vercel Deployment 3:28
  • Section Quiz
Chương 16 TanStack Query - GitHub Finder Project
  • Section Intro & Project Intro 2:17
  • What Is TanStack Query? 8:17
  • Project Setup & Query Client 5:29
  • GitHub API Integration 5:20
  • Making Queries With useQuery Hook 12:04
  • Clean Up Code 5:50
  • React Query Devtools Install 3:48
  • Recent Searches Feature 11:52
  • Let's Chat About State 3:09
  • Prefetching Data With TanStack Query 3:47
  • Save Recent Users To Local Storage 3:45
  • Show User Suggestions 12:08
  • Suggestions Dropdown Component 7:36
  • API Token & Important Security Information 4:07
  • Check If User Is Following 9:54
  • Mutations - Follow User 7:04
  • Mutations - Unfollow User 3:52
  • Toast Notifications 3:36
  • Section Quiz
Chương 17 TanStack Router - IdeaDrop Project
  • Section & Project Intro 3:45
  • Intro To TanStack Router 6:21
  • Project Setup 7:42
  • Creating Routes 6:29
  • Head & Meta 3:51
  • Mock REST API 3:51
  • Fetch Data With TanStack Router Loaders 5:44
  • Vite Proxy & Fix Config Errors 5:27
  • TanStack Query & QueryClient Setup 6:03
  • Use TanStack Query To Fetch Idea 9:34
  • Install & Use Axios 4:40
  • Fetch & Display Ideas 9:37
  • Header & Main Layout 7:04
  • Not Found Page 2:57
  • Homepage Challenge 10:15
  • IdeaCard Component 7:04
  • Create Idea Form 3:52
  • Create Idea Mutation 9:36
  • Delete Ideas 8:47
  • Idea Edit Form 12:02
  • Update Idea Mutation 7:44
  • Section Quiz
Chương 18 MERN Stack: Backend Express API & MongoDB Database
  • Section Intro 3:26
  • What Is The MERN Stack? 2:20
  • Monorepo vs Separate Repos 3:47
  • Basic Express Server Setup 10:55
  • Creating Server Endpoints 11:52
  • Route Files 5:32
  • Custom Error Handler 6:42
  • MongoDB Atlas Setup (Cloud Database) 5:36
  • MongoDB Compass Setup & Data Import 3:44
  • Connect To Database Using Mongoose 4:06
  • Model & Fetch Ideas 8:36
  • Create New Idea 7:02
  • Delete & Update Ideas 9:33
  • Integrating The Frontend & Backend 4:48
  • Limit & Sort At API Level 7:16
  • Section Quiz
Chương 19 API Authentication With JWT & Refresh Tokens
  • What Are JWTs? 4:31
  • Access & Refresh Token Strategy Explained 5:08
  • User Model & Password Hashing 8:27
  • User Register Endpoint 8:14
  • Generate Access & Refresh Tokens 11:09
  • Logout Endpoint & Clear Cookie 2:30
  • Login Endpoint 7:22
  • Use Refresh Token 7:44
  • Protecting Routes 12:36
  • User Authorization & Access Control 13:25
  • Section Quiz
Chương 20 Full Stack Authentication
  • Full Stack Auth Flow Explained 2:31
  • Auth Pages & Layout 12:42
  • Auth Context 8:22
  • Register User 12:41
  • Login User 7:00
  • Conditional Nav Links 4:20
  • Logout User 5:22
  • Refresh Token On Page Refresh 5:14
  • Send Token With Request Using Axios Interceptor 8:28
  • Refresh Token When It Expires 9:38
  • Hide Controls 2:25
  • Section Quiz
Chương 21 MERN App Depoloyment
  • Prepare For Deployment 5:08
  • Backend API Deployment 3:55
  • Frontend Deployment 6:34
  • Section Quiz

Requirment

  • You should know the fundamentals of JavaScript

Outcomes

  • Learn The Fundamentals Of React (Components, state, hooks, context API & more)

  • Build Projects (Portfolio website, notes app, shopping cart UI, idea sharing app & more)

  • React Router v7 - Declarative & Framework Mode With SSR

  • TanStack Router & TanStack Query For Working With APIs

  • Portfolio Website WIth Strapi Headless CMS Integration

  • Full Stack MERN App With Refresh Tokens For Authentication

  • Learn hooks like useState, useEffect, useRef, useContext

  • Suitable For Beginners & Intermediates

Instructor

...
Brad Traversy

0.0

  • ... 0 Student
  • ... 2 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all