-
Notifications
You must be signed in to change notification settings - Fork 786
Open
Labels
enhancementNew feature or requestNew feature or requestv11For v11 related tasksFor v11 related taskswebgpuWebGPU Related issueWebGPU Related issue
Description
Related to pmndrs/react-three-fiber#3181
Because ErrorBoundaries are React constructs they fail to catch vanilla errors in the loader call.
- wrap methods in try/catch and provide a setError method
- For v10+ r3f setError is available on useThree which will fire the global boundary.
Im not sure of the line number handling but this already works in the new useFrame
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestv11For v11 related tasksFor v11 related taskswebgpuWebGPU Related issueWebGPU Related issue