You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I use
useLoader
to load gltf model. In case of loading errors I want to catch that error and as fallback return null.https://codesandbox.io/s/error-handling-hd8k8?file=/src/index.tsx
In this example if GLTFLoader throws error, ErrorBoundary doesn't help to catch it.
I handled loading error, but want to know how to do it in the right way with useLoader hook
Beta Was this translation helpful? Give feedback.
All reactions