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

Bug with delayed next routers server-centric routing #197

Open
LarsFlieger opened this issue Jan 21, 2023 · 0 comments
Open

Bug with delayed next routers server-centric routing #197

LarsFlieger opened this issue Jan 21, 2023 · 0 comments
Labels
bug Something isn't working frontend

Comments

@LarsFlieger
Copy link
Contributor

Describe the bug
The next router is server-centric which means the routing is done in the server and only if the request comes back the user gets redirected to the new url. When the user is doing actions while the server is loading which affects the routing, the new action will get overwritten with the old one which comes back. This causes issues with slow internet connections or test envs.

Related while dev:
#195

The upcoming router has fixed this problem. We have to wait till it's stable: https://beta.nextjs.org/docs/routing/loading-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant