0
点赞
收藏
分享

微信扫一扫

错误Error: A React component suspended while rendering, but no fallback UI was specified


解决React错误:

Error: A React component suspended while rendering, but no fallback UI was specified.
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.

错误Error: A React component suspended while rendering, but no fallback UI was specified_UI


错误Error: A React component suspended while rendering, but no fallback UI was specified_UI_02


主要是在使用lazy()懒加载组件的时候报错

错误Error: A React component suspended while rendering, but no fallback UI was specified_react.js_03


需要加上​​fallback={}​

错误Error: A React component suspended while rendering, but no fallback UI was specified_懒加载_04


解决!!!


举报

相关推荐

0 条评论