I have a full static NUXT application, so i would expect all content on pages to be ready immediately after route change.
I'm experiencing that there is a slight delay between the route change and each component appearing on the page, resulting in layout shifts.
Is this expected behaviour?
I've made a minimal reproduction which produces the same behaviour. (Sometimes ;) ) https://github.com/Jonatan-bs/static-nuxt-test
It's a create-nuxt-app with a page that renders a lot of components dynamically.
to reproduce:
- npm run install
- npm run generate
- npm run start
- click on 'test' link, which links to another page
Expected behaviour:
All components would be present immediately after the page change, since it's a static generated app.
Observed behaviour:
As shown on the attached picture
- after route change the component with yellow background is rendered.
- then shortly after, the component with black background is rendered