Module 01 of 10

Foundations: React & Modern JavaScript

Lessons

About This Module

Next.js is built on top of React, and React is built on top of modern JavaScript. Trying to learn all three at once is the fastest way to get lost, so this module builds the groundwork first: the language features, type safety, component model and version control habits that every later module assumes you already have.

It starts with modern JavaScript (ES6+) — arrow functions, destructuring, template literals, modules and the spread and rest operators you will see in nearly every Next.js file. TypeScript adds static types on top, which is the default language for new Next.js projects. You will then learn React itself: components, JSX, props, state and hooks such as useState and useEffect, before finishing with Git and GitHub for tracking changes and collaborating.

Watch the lessons in order, then continue on to Getting Started with Next.js.

Lessons

4 videos
01

Modern JavaScript: ES6+ Features

freeCodeCamp and Dylan C. Israel cover the modern JavaScript syntax you will meet in every Next.js codebase — let and const, arrow functions, destructuring, template literals, spread and rest, and more.

02

Learn TypeScript – Full Course for Beginners

A hands-on introduction to TypeScript from Scrimba: basic and custom types, unions, type narrowing, utility types and generics, so you can write safer JavaScript.

03

React Course – Beginner's Tutorial for React

freeCodeCamp's full React course takes you through components, props, state, forms, effects and API calls by building real projects, the foundation for Server and Client Components later.

04

Git and GitHub for Beginners – Crash Course

Gwen Faraday introduces version control: installing Git, commits, branches, merging and working with GitHub — the workflow you will use to ship and deploy your Next.js apps.