+Loading.jsx not working #1945
-
The feature is documented here However it seems not working, or not clear how to use it. In my project, I've created a +Loading.jsx file as documented, but the component or layout is never shown. Does it require manual integration? Or vike-react automatically integrates it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Indeed, it's poorly documented. It's used by |
Beta Was this translation helpful? Give feedback.
-
I recently upgraded to the latest @keyframes vike-react-shine{to{background-position-x:-200%}} I'm using pre-rendering with static HTML output, so I'm not sure if/when this CSS would ever be used? Would be great if this sort of functionality was opt-in, as it seems like a performance footgun otherwise. Obviously the amount of bytes are negligible, but the fewer render-blocking CSS files the better. I tried updating |
Beta Was this translation helpful? Give feedback.
Indeed, it's poorly documented. It's used by
vike-react-{query,apollo}
, see for example https://github.com/vikejs/vike-react/tree/main/packages/vike-react-query#withfallback. I'll update the docs.