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 an extension where I want to access the data store from both options.js and popup.js.
In the background, I wrapStore(myStore). In both options and popup, I do create a store
const store = new Store();
store.ready().then(....)
It works in popup and options without trouble. But when I open options, and while the later is opened, open my popup, the popup fail to get access to the store.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s the componentWillUnmount method in _temp (created by ConnectFunction) in ConnectFunction (created by _class)
How can I overcome this limitation ?
Thanks for your ideas.
The text was updated successfully, but these errors were encountered:
Hi,
I have an extension where I want to access the data store from both options.js and popup.js.
In the background, I wrapStore(myStore). In both options and popup, I do create a store
It works in popup and options without trouble. But when I open options, and while the later is opened, open my popup, the popup fail to get access to the store.
Warning: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in %s.%s the componentWillUnmount method in _temp (created by ConnectFunction) in ConnectFunction (created by _class)
How can I overcome this limitation ?
Thanks for your ideas.
The text was updated successfully, but these errors were encountered: