React Hooks notes

arung86

Arun Kumar G

Posted on March 2, 2020

React Hooks notes

Hooks are new additions to react in 16.8.0

Hooks are basically a JavaScript functions

They let you hook(application business logic) into react state and lifecycle features from function components.

Hooks can only be used inside function components,

Hooks make FCs state rich.

You can create your own hooks

Without hooks today Its difficult to share state-full logic in a class based component, which is made easy.

💖 💪 🙅 🚩
arung86
Arun Kumar G

Posted on March 2, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

Playgrounds & Sandboxes
javascript Playgrounds & Sandboxes

April 25, 2020

React Hooks notes
javascript React Hooks notes

March 2, 2020