DEV Community

Discussion on: When React Hooks "just clicked" in my head 💡🤩

Collapse
rawas_aditya profile image
Aditya Rawas

In simple words react hooks has global variables that are same throughout applications, but other variables like useStates and variables are local and have a scope within components