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

Pending state #25

Closed
amannn opened this issue Nov 17, 2022 · 1 comment
Closed

Pending state #25

amannn opened this issue Nov 17, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@amannn
Copy link
Owner

amannn commented Nov 17, 2022

Is your feature request related to a problem? Please describe.

It would be very helpful if the user could obtain a flag that indicates if the router is currently transitioning to a new page. This might take some time until gSSP is called again and the data returns, therefore the user should be informed.

Describe the solution you'd like

Some kind of access to a global flag.

Describe alternatives you've considered

Tracking this in user land in separate state.

@amannn amannn added the enhancement New feature or request label Nov 17, 2022
@amannn
Copy link
Owner Author

amannn commented Nov 17, 2022

router.replace returns a promise, probably that's good enough.

@amannn amannn closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant