Wrap entire app in single ErrorBoundary (react-error-boundary)

前端 未结 0 1478
时光说笑
时光说笑 2021-01-24 12:13

We have an App.js file in React, and I would like to add an error boundary that wraps around the majority of routes. The App.js file broadly looks like this:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题