reactjs .net value pass для реагирования
Since react is compilled into javacsript you can define your variable in your view.
<script type="text/javascript">let modelProperty= '@Model.ModelProperty';</script>
<script src="@Url.Content("~/Scripts/myComponent.jsx")"></script>
Then inside your react just call it like this
ReactDOM.render(<MyComponent prop0={modelProperty} />, document.getElementById("yourTargetElementId"))
Av3