React.js Tutorial: Let’s “Hook” Up

With the introduction of React 16.8 in 2018, the React team came up with the concept of “Hooks.” In this post, we are going to explore the reasons behind creating hooks and how to use them in a React application.

In React, we can create two types of components: Functional/Stateless components and Class/Stateful components.