DEV Community

Cover image for Create a timeout hook in React
coder4life
coder4life

Posted on

Create a timeout hook in React

Create a reuseable hook for setting a timeout (using JavaScripts setTimeout).

Top comments (1)

Collapse
 
vjr2nd profile image
Vijay Roy ๐Ÿ‡จ๐Ÿ‡ฎ

I checked your playlist on react very concise and clean code. would be nice if you add comment or for idea adding a general flow of code in form of diagram or simple plain english. ๐Ÿ‘