Sign in
Log inSign up

How does state work in React?

Ankit Singhaniya's photo
Ankit Singhaniya
·Dec 16, 2016

I was wondering what is the differnce between states in react and normal variables? How is it able to listen to changes made to states? Does it create an internal hash which keep tracks of those state variables?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct