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.
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 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 the useState and useEffect Hooks in minutes. A React timer component is a great way to learn React, so let’s begin!
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.
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.
Building modal dialogs in React is a challenge due to their architectural and accessibility complications. However, there is an easy solution.
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.
Build a form validation engine using custom React Hooks, from scratch, without having to learn a single form library. Read on to learn how!
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!
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!