React Hooks are a newly proposed feature that lets you use state and life-cycle methods without writing a class component.
useReducer is quite an advanced hook that beginners often don’t really know how to use. But this hook can be very useful for writing better and clearer code! If you’re not sure of what useReducer does, read on to learn more! What is the useReducer hook? You can think of useReducer as a “state” hook, […]
What is the `useRef` hook? How do you use it? When should you use `useRef` vs `useState`? What caveats should you be aware of when using `useRef`?
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!