Unable to use CustomErrorBoundary component due to Storybook's internal ErrorBoundary #21855
Unanswered
andreadeluisi-ryte
asked this question in
Documentation
Replies: 2 comments 2 replies
-
Watching...we want to show our "break things" UI based on error triggered. I have tried:
with Custom Error Boundary Class:
the |
Beta Was this translation helpful? Give feedback.
2 replies
-
I'm also having this issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create a CustomErrorBoundary component in my Storybook project, but I'm having trouble using it because the internal ErrorBoundary that Storybook provides as a wrapper for is being rendered instead of my custom component.
I've tried creating a
<CustomErrorBoundary>
component, forcing an error at runtime for children, and wrapping my story components with it, but it doesn't seem to have any effect. It appears that Storybook's internal ErrorBoundary is still being used instead.Is there any way to disable the internal ErrorBoundary that Storybook provides as a wrapper for
<Docs/>
?Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions