You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have some widgets associate store by itself, however when widget is unmount, seems its store is still under the list make it looks like a memory leak issue. Is there any way I can add some code to componentWillUnmount to remove the store from the list?
Maybe by dispatching an action with special type like INIT action in redux?
The text was updated successfully, but these errors were encountered:
Currently it's not possible for Redux enhancer. If you're using the extension only for logging, you can reimplement it using the API. So, can call unsubscribe() on componentWillUnmount. Here's an example of the implementation as a store enhancer.
But we should have it out of the box for the enhancer, just not sure how the API should look like.
Hi,
I have some widgets associate store by itself, however when widget is unmount, seems its store is still under the list make it looks like a memory leak issue. Is there any way I can add some code to componentWillUnmount to remove the store from the list?
Maybe by dispatching an action with special type like INIT action in redux?
The text was updated successfully, but these errors were encountered: