React not render Canvas #1811
-
I get |
Beta Was this translation helpful? Give feedback.
Answered by
CodyJasonBennett
Nov 6, 2021
Replies: 1 comment
-
You'd have to wrap your <React.Suspense fallback={null}>
<MyAsyncComponent />
</React.Suspense> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Bonnary
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
useLoader
is asynchronous, and enablesSuspense
.You'd have to wrap your
Box
with Suspense for a WebGL fallback (or none), or the entire canvas for a DOM fallback (or none).