Skip to content

fix: await router push in ssr server #1088

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

Merged
merged 1 commit into from
Jun 12, 2021

Conversation

NorbertNader
Copy link
Contributor

Description of Problem

When not awaiting route push I get an error in the console "Hydration completed but contains mismatches" and the routes do not behave as expected i.e. when navigating to a different page using router-link the content of router-view does not get rendered.

Proposed Solution

await router push

Additional Information

N/A

not awaiting might cause Hydration completed but contains mismatches
Copy link
Member

@NataliaTepluhina NataliaTepluhina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@NorbertNader thanks for the addition!

@NataliaTepluhina NataliaTepluhina merged commit 82e6ffc into vuejs:master Jun 12, 2021
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.

2 participants