S
SolidJS11mo ago
ry

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-531ddf2e369c
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
0 Replies
No replies yetBe the first to reply to this messageJoin