Can I use jsx without React to inline HTML in script?

后端 未结 8 1691
既然无缘
既然无缘 2021-01-31 02:20

Can I use inline HTML in a script as below by using a library like jsx:




        
8条回答
  •  醉话见心
    2021-01-31 03:08

    You can have a look at documentation: in-browser JSX transform, and also see Babel documentation

    You can achieve what you want, but it is discouraged in production...

提交回复
热议问题