bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/React

React

React Core

React fundamentals: components, JSX, props, state, events, forms, and rendering patterns.

Lesson 1

React Tutorial

React is a JavaScript library for building user interfaces.

Read lesson →Loading…
Lesson 2

React Introduction

React is a front-end JavaScript library.

Read lesson →Loading…
Lesson 3

React Getting Started

To use React in production, you need npm which is included with Node.js .

Read lesson →Loading…
Lesson 4

Your First React App

This is the default content of the App.jsx file in the src folder:

Read lesson →Loading…
Lesson 5

React Render HTML

React's goal is in many ways to render HTML in a web page.

Read lesson →Loading…
Lesson 6

Upgrade React

Upgrading an existing React application to version 19 only requires two steps.

Read lesson →Loading…
Lesson 7

React ES6

ES6 stands for ECMAScript 6.

Read lesson →Loading…
Lesson 8

React ES6 Classes

ES6 introduced classes.

Read lesson →Loading…
Lesson 9

React ES6 Arrow Functions

Arrow functions allow us to write shorter function syntax:

Read lesson →Loading…
Lesson 10

React ES6 Variables

Before ES6 there was only one way of defining your variables: with the var keyword. If you did not define them, they would be assigned to the global object. Unless you were in strict mode, then you w…

Read lesson →Loading…
Lesson 11

JavaScript Array map()

The map() method creates a new array with the results of calling a function for every array element.

Read lesson →Loading…
Lesson 12

React ES6 Destructuring

Destructuring is a JavaScript feature that allows you to extract values from objects or arrays into distinct variables. In React, it's commonly used with props, hooks, and state management.

Read lesson →Loading…
Lesson 13

React ES6 Spread Operator

The JavaScript spread operator ( ... ) copies all or part of an existing array or object into another array or object.

Read lesson →Loading…
Lesson 14

React ES6 Modules

JavaScript modules allow you to break up your code into separate files.

Read lesson →Loading…
Lesson 15

React ES6 Ternary Operator

The ternary operator is a simplified conditional operator like if / else .

Read lesson →Loading…
Lesson 16

React ES6 Template Strings

Template strings allow you to write strings that span multiple lines and include embedded expressions:

Read lesson →Loading…
Lesson 17

React JSX

JSX stands for JavaScript XML.

Read lesson →Loading…
Lesson 18

React JSX Expressions

One of the most powerful features of JSX is the ability to embed JavaScript expressions directly within your markup.

Read lesson →Loading…
Lesson 19

React JSX Attributes

JSX allows you to insert attributes into HTML elements, but there are a few important differences.

Read lesson →Loading…
Lesson 20

React JSX If Statements

React supports if statements, but not inside JSX.

Read lesson →Loading…
Lesson 21

React Components

Components are like functions that return HTML elements.

Read lesson →Loading…
Lesson 22

React Class Components

Before React 16.8, Class components were the only way to track state and lifecycle on a React component. Function components were considered "state-less".

Read lesson →Loading…
Lesson 23

React Props

Props are arguments passed into React components.

Read lesson →Loading…
Lesson 24

React Destructuring Props

You can limit the properties a component receives by using destructuring.

Read lesson →Loading…
Lesson 25

React Props Children

In React, you can send the content between the opening and closing tags of a component, to another component.

Read lesson →Loading…
Lesson 26

React Events

Just like HTML DOM events, React can perform actions based on user events.

Read lesson →Loading…
Lesson 27

React Conditional Rendering

In React, you can conditionally render components.

Read lesson →Loading…
Lesson 28

React Lists

In React, you will render lists with some type of loop.

Read lesson →Loading…
Lesson 29

React Forms

Just like in HTML, React uses forms to allow users to interact with the web page.

Read lesson →Loading…
Lesson 30

React Submit Forms

You can control the submit action by adding an event handler in the onSubmit attribute for the <form> :

Read lesson →Loading…
Lesson 31

React Forms - Textarea

The textarea element in React is slightly different from ordinary HTML.

Read lesson →Loading…
Lesson 32

React Forms - Select

A drop down list, or a select box, in React is also a bit different from HTML.

Read lesson →Loading…
Lesson 33

React Forms - Multiple Input Fields

When you have multiple controlled input fields in a form, you can manage their state either by:

Read lesson →Loading…
Lesson 34

React Forms - Checkbox

For checkboxes, use the checked attribute instead of value to control its state.

Read lesson →Loading…
Lesson 35

React Forms - Radio

Radio buttons are typically used in groups where only one option can be selected.

Read lesson →Loading…
Lesson 36

React Portals

React Portals provide a way to render HTML outside the parent component's DOM hierarchy.

Read lesson →Loading…
Lesson 37

React Suspense

React Suspense lets you display an alternative HTML while waiting for code or data to load.

Read lesson →Loading…
Lesson 38

Styling React Using CSS

- Inline styling - CSS stylesheets - CSS Modules

Read lesson →Loading…
Lesson 39

React CSS Modules

CSS Modules let you write CSS that is scoped locally to a specific component.

Read lesson →Loading…
Lesson 40

React CSS-in-JS

CSS-in-JS is a styling technique where you can write CSS directly in your JavaScript code.

Read lesson →Loading…
Lesson 41

React Router

React Router is a library that provides routing capabilities for React applications.

Read lesson →Loading…
Lesson 42

React Transitions

The useTransition hook helps you keep your React app responsive during heavy updates.

Read lesson →Loading…
Lesson 43

React forwardRef

forwardRef lets your component pass a reference to one of its children. It's like giving a direct reference to a DOM element inside your component.

Read lesson →Loading…
Lesson 44

React Higher Order Components

A Higher Order Component (HOC) is like a wrapper that adds extra features to your React components. Think of it like putting a case on your phone - the case adds new features (like water protection)…

Read lesson →Loading…
Lesson 45

React Sass Styling

Sass is a CSS pre-processor.

Read lesson →Loading…