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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(nuxt): defer shared asyncData promises to next tick #27329

Merged
merged 2 commits into from
May 23, 2024

Conversation

danielroe
Copy link
Member

馃敆 Linked issue

follow up on #27031

馃摎 Description

Added docs for this change in #27132 but didn't implement because of a bug that occurred when testing.

This PR resolves the bug (which was that synchronous calls to useAsyncData ended up unsetting the context) and enables the feature by default in v4 compatibility mode.

Copy link

stackblitz bot commented May 23, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions github-actions bot added the 3.x label May 23, 2024
@danielroe danielroe merged commit 0e90e87 into main May 23, 2024
61 checks passed
@danielroe danielroe deleted the fix/prerender-data-context branch May 23, 2024 16:40
This was referenced May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant