How to add Suspense to dynamic import in React?

后端 未结 0 1588
予麋鹿
予麋鹿 2020-12-23 14:09

I have 3 components. Only one of them should render depending on a prop value. Instead of importing all of them, I want to boost the app performance by dynamically importing

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