Skip to content

Fix banner bug that also broke the search #988

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
Apr 10, 2021

Conversation

skirtles-code
Copy link
Contributor

@skirtles-code skirtles-code commented Apr 10, 2021

I believe the problem is that hydration fails in production because state gets changed in beforeMount.

This not only breaks the Vue Mastery banner but also the search box.

I think the 'New content available' popup is also broken. I'm not sure there's anything we can do about that. As I understand it, even disabling PWA probably wouldn't be enough. I believe ctrl+shift+F5 or cmd+shift+R should be enough to force a refresh.

@skirtles-code skirtles-code marked this pull request as ready for review April 10, 2021 09:31
@skirtles-code skirtles-code changed the title Banner bug, breaking search Fix banner bug that also broke the search Apr 10, 2021
@NataliaTepluhina NataliaTepluhina merged commit 18c496a into vuejs:master Apr 10, 2021
narusas referenced this pull request in vuejs-kr/docs-next Apr 29, 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