alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
chrome --headless --disable-gpu --remote-debugging-port=9222
class NameForm extends React.Component { | |
constructor(props) { | |
super(props); | |
this.state = { name: '' }; | |
} | |
handleChange = (event) => { | |
this.setState({[event.target.name]: event.target.value}); | |
} |