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) ?
2 Replies
Want results from more Discord servers?
Add your server