React error boundary that catches rendering errors from
SchemaComponent, theme adapters, and any descendant.
Provides a reset callback that clears the error state, allowing
the children to re-render (e.g. after fixing a bad schema prop).
Does not catch errors thrown from event handlers, async work, or
server-side rendering — those paths must be handled by the host
application.
React error boundary that catches rendering errors from
SchemaComponent, theme adapters, and any descendant.Provides a
resetcallback that clears the error state, allowing the children to re-render (e.g. after fixing a bad schema prop). Does not catch errors thrown from event handlers, async work, or server-side rendering — those paths must be handled by the host application.Example