Torsten
Client only component (or client only createResource)
Hey...
I've a component that renders button depending on browser capabilities, so it makes no sense to use ssr.
I would like to wrap the capabilities check inside a
createResource
to use suspense / error boundaries (the browser check PublicKeyCredential.isUserVerifyingPlatformAuthenticatorAvailable()
returns a promise.
Is there either a way to make the whole component client side only or make the createResource
fetcher only execute on the client (and send the suspense boundary from the server) ?3 replies
renderStream not working after build
Hey,
I've switched to
renderStream
and I've made an artificially delayed routeData
with an <Suspense />
boundary. All is good in dev mode. I see the loading indicator from Suspense and the data popping in.
But after pnpm build && pnpm start
, everything looks like renderAsync
again. White page until the data is ready.
Am I missing something? Is this a known issue?
Thanks in advance4 replies