maoberlehner / vue-lazy-hydration

Lazy Hydration of Server-Side Rendered Vue.js Components
MIT License
1.18k stars 52 forks source link

Message: Cannot read property 'props' of undefined #79

Closed simplenotezy closed 3 years ago

simplenotezy commented 3 years ago

I just upgraded from 2.0.0-alpha.0 to 2.0.0-beta.2 and that triggers the following error:

TypeError: Cannot read property 'props' of undefined
    at extractPropsFromVNodeData (vue.runtime.esm.js?2b0e:2270)
    at createComponent (vue.runtime.esm.js?2b0e:3227)
    at _createElement (vue.runtime.esm.js?2b0e:3434)
    at createElement (vue.runtime.esm.js?2b0e:3353)
    at vm.$createElement (vue.runtime.esm.js?2b0e:3494)
    at Proxy.render (LazyHydrate.esm.js?8416:144)
    at VueComponent.Vue._render (vue.runtime.esm.js?2b0e:3548)
    at VueComponent.updateComponent (vue.runtime.esm.js?2b0e:4055)
    at Watcher.get (vue.runtime.esm.js?2b0e:4479)
    at Watcher.run (vue.runtime.esm.js?2b0e:4554)
silencerspirit commented 3 years ago

yeap. me to catch this error.

simplenotezy commented 3 years ago

Hmm - for some reason 2.0.0-alpha.0 also triggers this error.

maoberlehner commented 3 years ago

Look, people, I understand that it can be frustrating to use an Open Source project which has a bug that prevents you from doing the things you want to do. I've been there. But I do this stuff in my free time. The last two weeks I've worked probably 40+ hours on this in my free time. For almost 0 €.

Please read: https://github.com/maoberlehner/vue-lazy-hydration/blob/master/CONTRIBUTING.md

Found a problem? Want a new feature?

  • Provide a reduced test case or a live example.

Remember, a bug is a demonstrable problem caused by our code.

maoberlehner commented 3 years ago

Could reproduce the problem myself. Was a stupid mistake I made. Will be fixed with next release.