Sai Jyothi Prasad Ponduru's learning blog
You might be curious how React knows which component useState corresponds to since we’re not passing anything like this back to React.
useState
this
https://reactjs.org/docs/hooks-faq.html#how-does-react-associate-hook-calls-with-components
No comments:
Post a Comment