Search posts, tags, users, and pages
Chris Bongers
Looking to get into development? As a full-stack developer I guide you on this journey and give you bite sized tips every single day ๐
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...
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
Very good point yes, in most cases you would already have something in place to handle window defined for the SSR. Forgot to include that in the main article, so thanks for the heads-up.
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