As noted in this article, the timeout/interval objects keep a reference to the store even after they have been cleared.
I think it would be better to clear up that reference inside the clearTimeout() and clearInterval() functions. We might also want to consider exposing an API for end-users and explicit lifetime tracking.
As noted in this article, the timeout/interval objects keep a reference to the store even after they have been cleared.
I think it would be better to clear up that reference inside the
clearTimeout()andclearInterval()functions. We might also want to consider exposing an API for end-users and explicit lifetime tracking.