DEV Community

Discussion on: 8 Awesome React Hooks

samselfridge profile image

Here's the one for useTimeout:

You threw me off with the variable named seconds since it only increments every 5 seconds and then executes only once so I wanted to check it out.

Working code examples with posts like this would be helpful

Thread Thread
simonholdorf profile image
Simon Holdorf Author

Will make it that way next time 😊