Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Build Advanced Components with React Hooks

via egghead.io

Overview

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 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.

Syllabus

  • Build a Wizard Component using useState React Hooks
  • Create a Wizard Component Using Compound Components and useContext React Hook
  • Validate use of Context using a custom hook and the useContext React hook
  • Use useEffect React Hook to Define the Total Number of Pages for the Wizard Component
  • Manage Component State by Using The useReducer and useCallback React Hooks
  • Implement The State Reducer Pattern Using The useReducer React Hook
  • Create a Flexible API by Using Custom React Hooks

Taught by

Matías Hernández

Reviews

4.3 rating at egghead.io based on 50 ratings

Start your review of Build Advanced Components with React Hooks

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.