DEV Community

Cover image for useState in React
CodeWellTechYT
CodeWellTechYT

Posted on

useState in React

Hooks are a new addition in React 16.8.

They let you use state and other React features without writing a class.

🔥🔥 Concepts Covered

  • What are hooks in React ?
  • How to convert class state to function state with useState
  • How to use the useState hook
  • Best way to define initiate state in useState

Top comments (0)