Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxy store is out of sync with background store in a new route initially #218

Open
fyang1024 opened this issue Jul 6, 2019 · 1 comment

Comments

@fyang1024
Copy link

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.

@cerenkeklik
Copy link

cerenkeklik commented Feb 3, 2022

@fyang1024 Nearly 3 years ago but have you find any solution about that? My proxy store also out of sync with background store

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants