Closed M-ZubairAhmed closed 6 years ago
https://github.com/feimosi/frameworks-code-comparison/issues/3
import React from 'react' export default class ReactForm extends React.Component { constructor(props) { super(props) this.state = { formValue: '' } } handleChange = event => { this.setState({ formValue: event.target.value }) } render() { return ( <form> <input value={this.state.formValue} placeholder="Enter value" onChange={this.handleChange} /> </form> ) } }
Please review and let me know if you would like some changes to be made to this PR
Changes are made to the PR
Looks good :+1:
Issue
https://github.com/feimosi/frameworks-code-comparison/issues/3
Code snippet