WebDevSimplified / useful-custom-react-hooks

1.95k stars 687 forks source link

Return as Array #5

Closed jkutianski closed 3 years ago

jkutianski commented 3 years ago

https://github.com/WebDevSimplified/useful-custom-react-hooks/blob/f5dda2e69d51e5da52aa75f21c6e83610def5923/src/2-useTimeout/useTimeout.js#L29

Similar to #2

WebDevSimplified commented 3 years ago

https://github.com/WebDevSimplified/useful-custom-react-hooks/issues/2#issuecomment-918094126