React cleaner use of setTimeout
When working with setTimeout we generally don't have to worry about cleaning up our timeouts.
However, introducing it into React can create some nasty edge-cases.
This often happens because we want to manipulate data after x time.
The component might...
h.daily-dev-tips.com3 min read
mamged
jsian
good job, but I think this will cause an error with SSR because window object is not accessible on the server side code