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
I would love to wrap all of my type serializers in error boundaries. Instead of adding one to each of my serializers, I would love to have a prop that I could provide a component that wraps all serializers.
Example usage:
<PortableTextvalue={value}components={components}componentWrapper={({ children })=>(<ErrorBoundaryfallback={<div>Error</div>}>{children}</ErrorBoundary>)}/>
Is this something you could look into?
The text was updated successfully, but these errors were encountered:
I would love to wrap all of my type serializers in error boundaries. Instead of adding one to each of my serializers, I would love to have a prop that I could provide a component that wraps all serializers.
Example usage:
Is this something you could look into?
The text was updated successfully, but these errors were encountered: