Back to Tldraw

Error boundary

apps/examples/src/examples/ui/error-boundary/README.md

5.0.0285 B
Original Source

Customize the error fallback that appears when a shape throws an error.


When something goes wrong in a shape, it won't crash the whole editor. An error fallback gets shown instead, which you can customize by overriding the ShapeErrorFallback component in the components prop.