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

Set the history state before swapping component #2098

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

joetannenbaum
Copy link
Contributor

This PR addresses an issue where the component could technically be mounted before we set the new history state when history encryption is in use, causing reload to reload the incorrect URL (typically the previous URL).

Fixes #2093

@joetannenbaum joetannenbaum merged commit 2d03ebc into master Dec 3, 2024
8 checks passed
@joetannenbaum joetannenbaum deleted the deferred-props-with-encryption-fix branch December 3, 2024 18:05
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.

[v2.x] Problem with Inertia::defer() and encryptHistory() upon <Link> visits
1 participant