Create react component dynamically

前端 未结 0 1525
慢半拍i
慢半拍i 2021-01-31 08:41

Trying to render different components depending on arguments passed with data. If I use regular or React.createElement(Item) - it works fine, but all other options fail.

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