@threlte/extras
useSuspense
The hook useSuspense is used to mark a resource as being used in a Suspense boundary. Follow the implementation details for the <Suspense> component.
The hook useSuspense is used to mark a resource as being used in a Suspense boundary. Follow the implementation details for the <Suspense> component.