vue-lazy-hydration icon indicating copy to clipboard operation
vue-lazy-hydration copied to clipboard

Improved integration in meta frameworks like Nuxt.js and Gridsome

Open maoberlehner opened this issue 5 years ago • 10 comments

  • Work on https://github.com/vuejs/vue/issues/9847
  • Fix potential a11y issues https://github.com/maoberlehner/vue-lazy-hydration/issues/11
  • Improve performance by better integration in Vue.js and its meta frameworks.

maoberlehner avatar May 15 '19 07:05 maoberlehner

Hey, @maoberlehner. I'm happy to share Chrome is donating $2,000 to support vue-lazy-hydration's goals around improving support for meta-frameworks like Nuxt and fixing https://github.com/vuejs/vue/issues/9847 🎉 We think this project's goals align well with helping reduce the impact of hydration on user interactivity.

Great work so far! We hope this helps!

~ signed Addy, @stubbornella and @spanicker

addyosmani avatar Sep 23 '19 14:09 addyosmani

@addyosmani This is amazing! Thank you!

ofek-a avatar Sep 23 '19 15:09 ofek-a

Hello @maoberlehner,

I just opened a pull request to fix this issue: https://github.com/vuejs/vue/pull/10794

Hope this helps :)

jeanphilippeds avatar Nov 04 '19 15:11 jeanphilippeds

@jeanphilippeds this is amazing! I was already investigating how we can work with this in Nuxt.js and Gridsome, but unfortunately, I currently can't give this my full attention. All the more reason I appreciate your help!

maoberlehner avatar Nov 04 '19 16:11 maoberlehner

I'm just worried about the fact that there was no Vue release since March, I'm wondering if we will have to wait for Vue 3 :/

jeanphilippeds avatar Nov 04 '19 17:11 jeanphilippeds

@maoberlehner I forked vue-server-renderer and it's working great on my Nuxt project :)

jeanphilippeds avatar Nov 08 '19 15:11 jeanphilippeds

@jeanphilippeds Not really sure what you mean. Did you manage to get lazy-hydration to work with nuxt? I would like this too. Is there a way to work around waiting for the pull request to get merged?

ramonmostert avatar Feb 04 '20 13:02 ramonmostert

@jeanphilippeds Can we also use your forked vue-server-renderer to prevent js bundling in our Nuxt projects? Could you give a few instructions how to do so? Thank you! :+1:

sisou avatar Feb 11 '20 13:02 sisou

@jeanphilippeds It would be great to use your vue-server-renderer until the pull request is processed. I see your changes here https://github.com/jeanphilippeds/vue/commits/add-option-to-render-or-not-async-scripts Are these relevant?

fibigerg avatar Feb 13 '20 15:02 fibigerg

Hi, @maoberlehner, @jeanphilippeds Does this issue related to what I posted as here

If it is true. It seems, at least now, only the possible workaround will be this one ( note, Nuxt modern mode can't workaround what we want any more)

Thanks,

hereiscasio avatar Jun 19 '21 15:06 hereiscasio