DEV Community

Arun Kumar G
Arun Kumar G

Posted on

3

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.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay