There is a html page contains the following html and include a js file
html:
<input type="text" name="customValue" id="customValue" value="">
js file:
class Calc extends React.Component {
constructor() {
super();
}
render() {
return (99)
}
}
ReactDOM.render(<Calc />, document.getElementById("customValue"));
So my question is how to set the customValue to 99 using reactjs?