nuxt pages blank before showing anything
I have a page that shows some data from an API. I fetch the data and as long as it fetches I want to trigger a loading skeleton. However it seems as the page only loads when the fetching is already done resulting in having no skeleton. This projekt is a port of nuxt2. I remember this was working in nuxt2. Is there something changed how the pages are rendering? I am coming from react and I know for a fact that they suspend the rendering until all the data is up. Is there something similar in place in nuxt3?
1 Reply
ok I made myself a small simple mini example where I simulate a fetch call via setTimeout and onMounted and it seems the rendering is not being suspended or smth.... It must be something else....
the fetching is coming from a composable which is using an rpc call to get the data... I dont know RPC that well but could that be the problem?