What I want to do is when I type some text in an input field, it should appear in another place realtime.
Below is my input;
class App extends React.Component { constructor() { super(); this.state = {value : ''} } handleChange = (e) =>{ this.setState({value: e.target.value}); } render() { return ( {this.state.value} ) } } ReactDOM.render(, document.getElementById('app'));