React Hooks

How to Use the setState Callback in React
To perform an action in a React component after calling setState, such as making an AJAX request or throwing an error, we use the setState callback.

Simplifying React State and the useState Hook
In this lesson, we’ll cover React state, how it works, and how we can use the useState Hook to build a simple dice rolling app. Let’s begin!

Build a Todo App in React Using Hooks
Build a simple todo app using React and React Hooks. This is a perfect starting tutorial for beginner and intermediate React developers.

Build a React Timer Component Using Hooks
Build a React timer component using the useState and useEffect Hooks in minutes. A React timer component is a great way to learn React, so let’s begin!

setInterval in React Components Using Hooks
Using setInterval inside React components allows us to execute a function or some code at specific intervals. Let’s explore how to use setInterval in React.

setTimeout in React Components Using Hooks
Use setTimeout in your React components to execute a function or block of code after a period of time. Let’s explore how to use setTimeout in React.

Modal Components in React Using Custom Hooks
Building modal dialogs in React is a challenge due to their architectural and accessibility complications. However, there is an easy solution.

How to Use the useContext Hook in React
Let’s explore the React useContext Hook by building a music player! I’ll also show you how a custom React Hook can make the useContext Hook easier to use.

Form Validation Using Custom React Hooks
Build a form validation engine using custom React Hooks, from scratch, without having to learn a single form library. Read on to learn how!

Using Custom React Hooks to Simplify Forms
Use custom React Hooks to build forms that require half the code to write, are reusable, and are much easier to read. Read on to learn more!

Build an Infinite Scroll Component in React using React Hooks
Today we’re going to dive deeper into React development and learn how to build an infinite scroll component in React using React Hooks. Let’s get started!

React Hooks: A Simple Introduction
React Hooks are a newly proposed feature that lets you use state and life-cycle methods without writing a class component.