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