Noticed that I was unable to use clearTimeout but inly when running through devtool, it looks like we need to shim both setTimeout and clearTimeout otherwise we get the setTimeout method from node and the clearTimeout method from the browser.
Maybe there is a better place to setup protection for clearTimeout/clearInterval? but this seems to work for me.
Noticed that I was unable to use clearTimeout but inly when running through devtool, it looks like we need to shim both setTimeout and clearTimeout otherwise we get the setTimeout method from node and the clearTimeout method from the browser.
Maybe there is a better place to setup protection for clearTimeout/clearInterval? but this seems to work for me.
Thats not fun 👎