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.
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.