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

SSR vnode mismatch #974

Closed
privatenumber opened this issue Sep 14, 2017 · 4 comments
Closed

SSR vnode mismatch #974

privatenumber opened this issue Sep 14, 2017 · 4 comments

Comments

@privatenumber
Copy link

Version

13.0.4

Reproduction link

https://github.com/hirokiosame/vue-test-ssr

Steps to reproduce

  1. Clone the ssr environment: https://github.com/hirokiosame/vue-test-ssr
  2. npm install & npm run dev

What is expected?

For the component to render fine in the backend and frontend.

What is actually happening?

The SSR server is going to mount this simple component: https://github.com/hirokiosame/vue-test-component/blob/master/src/TestComponent.vue

It renders fine if it's just front-end rendering, but when using server-side rendering, it breaks with a vnode mismatch error:

screen shot 2017-09-14 at 12 29 45 am


The server is using NUXT version 1.0.0-rc8 which uses vue-loader@13.0.4 and vue@2.4.3
The component is using vue-loader@13.0.4 (the version wasn't on the list in the form btw)

@kazupon
Copy link
Member

kazupon commented Sep 14, 2017

hmm 🤔, I seem occured degression in Vue 2.4.3.
/ping @yyx990803

@kazupon kazupon added bug and removed bug labels Sep 14, 2017
@yyx990803
Copy link
Member

Not really a regression, seems to be happening for 2.4.2 too.

@yyx990803
Copy link
Member

Fixed in Vue core. Will probably need to wait for the next patch release.

@privatenumber
Copy link
Author

Super fast. Thanks @yyx990803

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

No branches or pull requests

3 participants