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

[2.x] Fix loading deferred props when re-visiting the same page #2024

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

joetannenbaum
Copy link
Contributor

Currently, we only load deferred props on the navigate event, but when visiting the same page (e.g. clicking a link to the page you are currently on) that event doesn't get fired and the deferred props go back to their loading state and never load.

We now have a custom loadDeferredProps event that fires on every page swap, as it should.

Closes #2013.

@reinink reinink merged commit c8228f0 into master Oct 18, 2024
5 of 8 checks passed
@reinink reinink deleted the deferred-props-self-visit branch October 18, 2024 01:19
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

Successfully merging this pull request may close these issues.

Stuck on Deferred Loading State
2 participants