Syllabus

  1. 01JSXMeet React and JSX, the HTML-like syntax React uses to describe interfaces. Nest elements, close every tag, set attributes, embed JavaScript, show content conditionally and render lists with keys.8 lessons
    1. 01What React Is
    2. 02JSX Elements and Nesting
    3. 03Every Tag Closes
    4. 04Attributes in JSX
    5. 05JavaScript in JSX
    6. 06Conditional Rendering
    7. 07Rendering Lists
    8. 08JSX Quiz
  2. 02ComponentsPackage UI into components - functions that return JSX - with their own logic and event handlers, combine them into bigger components, and learn to split a design into a component tree.5 lessons
    1. 01Your First Component
    2. 02Logic and Event Handlers
    3. 03Components Inside Components
    4. 04Thinking in Components
    5. 05Components Quiz
  3. 03PropsMake components reusable by passing them data. Read props, pass values of every type, send event handlers down from parents, and wrap content with children and default values.5 lessons
    1. 01Passing Props
    2. 02Props of Any Type
    3. 03Passing Functions as Props
    4. 04Children and Default Values
    5. 05Props Quiz
  4. 04State and Effect HooksGive components memory with useState, update state safely from events, change objects and arrays without mutating them, and run side effects with useEffect: dependency arrays, cleanup and data fetching. Finish with a small reminder board.11 lessons
    1. 01State with useState
    2. 02Starting Values for State
    3. 03Toggling with State
    4. 04Updating State from the Previous State
    5. 05Objects and Arrays in State
    6. 06Side Effects with useEffect
    7. 07Cleaning Up Effects
    8. 08Dependency Arrays and One Effect per Job
    9. 09Fetching Data in an Effect
    10. 10Project: Reminder Board
    11. 11State and Effects Quiz
  5. 05Programming PatternsOrganise state across components - lift state up to a shared parent, split components into stateful containers and stateless presentational pieces, and derive values instead of duplicating state.4 lessons
    1. 01Lifting State Up
    2. 02Stateful and Presentational Components
    3. 03Derive, Don't Duplicate
    4. 04Patterns Quiz
  6. 06Styling React AppsStyle components with inline style objects, class names and stylesheets, switch styles based on state, and get to know the ways larger React projects organise CSS.4 lessons
    1. 01Inline Style Objects
    2. 02Class Names and Stylesheets
    3. 03Styling from State
    4. 04Styling Quiz
  7. 07Forms in ReactConnect inputs to state as controlled components, handle form submission, work with selects and checkboxes, and know when an uncontrolled input with a ref is the simpler choice.4 lessons
    1. 01Controlled Inputs
    2. 02Submitting Forms
    3. 03Selects, Checkboxes and Refs
    4. 04Forms Quiz