React

Components, JSX, props, state, hooks, and UI patterns.

Step 6

React.js

Think in components, keep state minimal, and build dynamic user interfaces that scale. Master the most popular library in the industry.

React Foundation

Overview

React is the tool we use to build UI with JavaScript.

Purpose

Build app UIs

React helps build interactive pages.

Prerequisite

Know JavaScript

React components are JavaScript functions.

Core idea

Use components

Break the UI into reusable pieces.

Watch For

React starts with JavaScript functions, then turns them into UI components.

React code editor
Caption Notes
1

React is the main UI tool.

2

JSX is JavaScript that looks like HTML.

3

Components are the building blocks.

Component Shape
JSX
function Thumbnail({ title }) {
  return (
    <button className="card">
      <img src="/react-overview.png" alt="" />
      <span>{title}</span>
    </button>
  );
}

export default function App() {
  return <Thumbnail title="React Overview" />;
}
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course
Unlock Full Access Buy this Course