ry
Explore posts from serversResource loading from param blocks navigation
https://stackblitz.com/edit/github-xdufjx?file=src%2Froutes%2Fdetail%2F%5Bid%5D%2Findex.tsx
on latest solidstart
When navigating to
/details/a
from /
, suspense fallback shows. After data loads, now navigate to detail b and see how the page freezes. You can't go to home during this.
Shouldn't the suspense show and not block everything when going a -> b? Not sure if i'm doing something wrong here.12 replies
Using `createResource` without triggering suspense
I'm trying to use
createResource
without triggering Suspense. I realised that data.latest
still triggers suspense on first fetch, but providing an initialValue
to the resource seems to prevent this.
Is this reliable behaviour to rely on?
https://playground.solidjs.com/anonymous/25b3cb5c-54b4-4be5-85c1-531ddf2e369c1 replies