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

React Hooks In Depth Part #1: Introduction

by Samrat Ghosh2mJanuary 2nd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

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
Samrat Ghosh

Samrat Ghosh

@samratat

Software Engineer @ Maersk

About @samratat
LEARN MORE ABOUT @SAMRATAT'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Samrat Ghosh HackerNoon profile picture
Samrat Ghosh@samratat
Software Engineer @ Maersk

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite