illustration for Build Advanced Components with React Hooks
free

Build Advanced Components with React Hooks

26m closed-captioning
·
7 lessons
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.3
261
people completed
Published 4 years ago
|
Updated 4 years ago

The new React Hooks API allows using different patterns in a simple, direct, and functional way.

In this course, you will find a step-by-step guide to build a complex component using different design patterns implemented with the Hooks API.

We will start with a simple component <Wizard> that uses the useState hook and in each lesson, we will be improving the implementation by using different strategies.

In the last lessons, we will have a full Wizard component with a flexible API to allow the user to manage the component based on their requirements and You will have learned the use of useState, useReducer, useContext, useEffect and useCallback along with some popular design patterns to build React applications.

You will be able to find the code and notes for each lesson in the GitHub repository.

Free Community Resource

A Community Resource means that it’s free to access for all. The instructor of this lesson requested it to be open to the public.

What you'll learn:

  • Manage React component state with useState
  • Share values throughout an application with Context
  • Build a React compound component
  • Render multiple pages in a Wizard form
  • Handle complex state updates with useReducer

Learner Reviews

  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Shows real practical example of the hooks, to build a useful componentized wizard which hides unnecessary complexity from where's its being used.

    jonathanleahy
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Can you take a moment to let us know what you expected from this course?

    Sorry but I didn't like it, the mode is messy and confusing, have it in one single file is difficult to follow, and I noticed error in the code that are just fixed, but the fix is not shown.

    Learner
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Good content but He did everything inside 2 files... would like to see it well separated in diferent files, like in the real world (file structure)... A file for the hooks, etc

    Lucas Pereira Caixeta
    2 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    How can this course be improved?

    I think the examples are too complex.

    Karthick Meenakshi Sundaram
    3 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    It's a great serie, I really like the compound components pattern, the concepts are clear. Matias is a great instructor.

    Gerardo Gallegos
    3 years ago
  • Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    Star icon$$$
    What did you like about this course?

    Nice explained and super easy going. Buen trabajo!

    Learner
    3 years ago

Course Content

26m • 7 lessons

    You might also like these resources:

    illustration for The Beginner's Guide to React
    Kent C. Dodds • 2h 29m • Course

    This course is for React newbies and anyone looking to build a solid foundation. It’s designed to teach you everything you need to start building web apps in React right away.

    illustration for Shareable Custom Hooks in React
    Joe Previte • Course • 30m

    In this course, you'll work through refactoring a component to use a custom hook and learn to apply the patterns used by the React team to your own code.

    illustration for React Crash Course with Hooks
    Chris Achard • 14m • Course

    This course gets you up and running with react in under a minute by using codesandbox.io to skip the painful process of setting up your dev environment.