Introduction

Let's have a look at how to use the state and lifecycle methods inside function components.

Hooks are a completely new and novel concept introduced in React 16.8.0. Many React Core developers have already described Hooks as one of the most exciting and fundamental shifts in React. Indeed, Hooks were making waves at the 2018 React Conf where they were first announced—before their introduction in the React 16.7 alpha release. Other frameworks have even followed suit and implemented their own version of Hooks. But what are Hooks exactly?



What are Hooks?

Get hands-on with 1400+ tech skills courses.