How to force fragment to render on client #558
Unanswered
JorisBlanken
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use
@react-three/fiber
in my Aleph project.The
@react-three/fiber
Canvas
element depends onreact-spring
, which in turn depends onResizeObserver
, which the deno SSR environment doesn't support.I wrapped my
Canvas
in aSuspense
, which solves the problem functionally, but errors are still being thrown.I wasn't able to find anything about client-side rendering in the docs.
What's the recommended way of forcing a component or fragment to render client-side only?
Beta Was this translation helpful? Give feedback.
All reactions