-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Lazy loading broken for SSR #15
Comments
Researched a bit and it could be an issue with Would it be possible to move the things to a functional render function? |
@manniL we could do that, but we need to add HMR support manually. (should be easy though.) |
@egoist Awesome! A non-functional |
@manniL yeah, from I've heard from Evan, we don't need functional components just for perf gains in Vue 3 either, I will update it to use stateful component 👌🏻 |
@egoist Heard that too 🙊 |
🎉 This issue has been resolved in version 0.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Heya!
Finally did the switch for https://github.com/Developmint/nuxt-svg-loader thanks to @wagerfield.
And something broke 🙈 😛
I can't lazy-load components with it anymore on server-side:
Repro: https://mj87xr1kyp.sse.codesandbox.io/
Somehow this happens only sometimes with just one lazyloaded SVG but always with 2+.
PS: This was/is possible with https://github.com/visualfanatic/vue-svg-loader.
The text was updated successfully, but these errors were encountered: