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

React Hooks In Depth Part #1: Introduction

January 2nd 2020
2 min
by @samratat 2,541 reads
tldt arrow
Read on Terminal Reader

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

About @samratat
LEARN MORE ABOUT @SAMRATAT'S EXPERTISE AND PLACE ON THE INTERNET.
react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!
Hackernoon hq - po box 2206, edwards, colorado 81632, usa