You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So the question is:
Is there any way to load data using createRouteData or createServerData$ and improve time to interact using Suspense in UI? if not then, How can I use islands to achive the same results but using components?
Please consider that I'm new to Solid and I pretty excited to try all its features but unfortunatelly the docs are lacking a lot of things atm.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently I use
routeData
function to check for API health and it works finebut as long as I decided to try out what would be if request take a little bit longer by artificially adding timeout to
routeData
function like soI got the following results:
I use ssr and islands enables in
vite.config.ts
like soand using
Suspense
to render the UI like thisSo the question is:
Is there any way to load data using
createRouteData
orcreateServerData$
and improve time to interact usingSuspense
in UI?if not then, How can I use
islands
to achive the same results but using components?Please consider that I'm new to Solid and I pretty excited to try all its features but unfortunatelly the docs are lacking a lot of things atm.
p.s. I'm using
pocketbase
as APIBeta Was this translation helpful? Give feedback.
All reactions