webext-redux
webext-redux copied to clipboard
proxy store is out of sync with background store in a new route initially
We have a browser extension project. It uses HashRouter to manage routes. Say, RouteA maps to ComponentA, RouteB maps to ComponentB. In ComponentA, when user clicks a button, an action is dispatched to change a state and then navigate to RouteB (which maps to ComponentB). The problem we have is in ComponentB componentDidMount() callback, the state change is not available. It seems in the above scenario, proxy store is out of sync with background store. If I close the extension popup and open it again, the state change becomes available.
@fyang1024 Nearly 3 years ago but have you find any solution about that? My proxy store also out of sync with background store