How to Manage State in React Components
Q. What is state in React components?
Ans:- Components need to remember kind of component-specific memory, is called state.
Q. Why we need state in React components?
Ans:- If we use local variables in component it doesn't work due to below reasons,
...
ngangai.hashnode.dev1 min read