-
Notifications
You must be signed in to change notification settings - Fork 34
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
Using store location object causes infinite renders but it's fine with rr6 location hook #80
Comments
Hi! dispatch a new location make re-render components subscribed to, and the loop is generated because Navigate runs effects every render. So you have 2 options
|
I fixed that by applying a convention for myself:
so basically it's your second workaround 👍 |
hey! thanks for your great work.
here is sandbox
The text was updated successfully, but these errors were encountered: