📜  reactjs .net 传递值进行反应 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:03.178000             🧑  作者: Mango

代码示例1
Since react is compilled into javacsript you can define your variable in your view.




Then inside your react just call it like this

ReactDOM.render(, document.getElementById("yourTargetElementId"))