How can I Parse a string containing JSX into JSX components

前端 未结 0 1312
醉梦人生
醉梦人生 2021-01-22 18:32

I am currently trying to parse a string that contains JSX into literal JSX, for example: and inject it into my component return:

import react from "react&quo         


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