A React Hooks Challenge for Senior React Developers
Can you solve this problem?
Published in
5 min readMay 19, 2022
A while ago, a friend sent me a React demo to test my understanding of React.
I took a closer look at this demo. Although the code is very small, it contains the following:
- Closure problem with hooks
- The principle of state