CSS loaded with dynamic import()
is leaky
#1324
Replies: 3 comments 18 replies
-
Hi @MichaelRoosz, thanks for raising this. I haven't seen this before. Can you push a minimal reproducer somewhere? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello @AurelienLourot , thank you for your response. Here is a minimal example based on "npm init vike": https://github.com/MichaelRoosz/vike-app The changes made you may find here: MichaelRoosz/vike-app@23a3ead |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing the same problem using React If I Also, just hovering over the page 2 link will prefetch it's global css, affecting the current page 1. Also, while on dev mode, once a css asset has been loaded, it will remain there until I restart the server. F5 isn't enough. |
Beta Was this translation helpful? Give feedback.
-
We use Vike with Vue3 and SSR.
Components are loaded async with Vue's "defineAsyncComponent()".
This makes loading the components async pointless, since after every component has been loaded once by any request all future requests will always get all assets
How to fix this?
Beta Was this translation helpful? Give feedback.
All reactions