Hiding ErrorBoundary Red Screen in React Native dev mode

Viewed 14

So ErrorBoundaries are a pretty cool thing and all, but in Development, they show a red (dismissible) Error Screen by default which always needs to be dismissed, before the Fallback-Component is revealed.

This is fine since it doesn't happen in release builds, yet incredibly annoying for testing error states.

Is there a way to disable the red screen in React Native? All suggested answers in this thread haven't worked for me.

Would be very thankful for any help! Thanks a lot!

0 Answers
Related