Skip to content
Discussion options

You must be logged in to vote

useLoader is asynchronous, and enables Suspense.

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).

<React.Suspense fallback={null}>
  <MyAsyncComponent />
</React.Suspense>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Bonnary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1810 on November 06, 2021 13:38.