I have in my .js a React variable this.status.result which holds my value (it's refreshing and changing values.
I want to put it in my html code, but I have no idea how to do it. I want something like this:
<div id="demo-container"></div>
<script src="bundle_test.js" type="text/javascript" charset="utf-8"></script>
<form method="post">
<input type="text" value=this.status.result>
<input type="submit">
</form>
Is there any easy solution? I know I can create a form with React, but for my project won't work.
EDIT: .js file has more than 25k lines.
value={this.status.result}work ?resulthold an HTML and you want to re-render it inside input?resultis an array, and how manyinputyou want to render? What does it look like if you pass like others suggestedvalue = this.status.resultand what is your expect result? Otherwise it is very hard for us to guess your target.