React Hooks In Depth Part #1: Introductionby@samratat
2,581 reads

React Hooks In Depth Part #1: Introduction

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

React Hooks are a new addition in React 16.8.8. They let you use state and other React features without writing a class. Hooks do not have any breaking changes and are 100% backward compatible. Don’t call Hooks inside loops, conditions, or nested functions. Always use Hooks at the top level of your React function. Only Call Hooks from React Functions or Custom React Hook’s or Custom Hooks. Use Hooks in functional components of your new project and new component of your existing project.

People Mentioned

Mention Thumbnail
featured image - React Hooks In Depth Part #1: Introduction
Samrat Ghosh HackerNoon profile picture

@samratat

Samrat Ghosh

Software Engineer @ Maersk


Receive Stories from @samratat

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!