Brendonovich
Explore posts from serversSolidStart layout shifts using createAsync
When you add the Suspense around
main
the data
access is then caught by that brand new Suspense that doesn't have any previous UI to show, rather than an existing Suspense that can keep showing the route you're navigating from31 replies
SolidStart layout shifts using createAsync
The idea is that navigation happens inside a Transition, and since an existing Suspense somewhere higher up in your app is being triggered by accessing
data
, the Transition pauses the navigation until the Suspense resolves31 replies