akshaygulhane / react-16.8-notes

My Study Notes for React 16.8+ version

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Study Notes for React 16.8+ version

Contents:

  1. useState Hook

1. useState Hook

  • This hook is used to use states in functional components
  • Updating the state replaces the existing set data, hence need destructring
  • useState can be called as many times as required inside a functional component

About

My Study Notes for React 16.8+ version