changed={(event) => this.nameChangedhandler(event, person.id)}
is it correct, that if I didnt need to pass person.id or any other argument to the method, that I could have written it like:
changed={(event) => this.nameChangedhandler(event)}
and is it the the same like:
changed={this.nameChangedhandler}
??
because the event from onChanged(which is in the component which gets it as a prop, see below) is automatically passed?
here the props in the component:
<input type="text" onChange={props.changed} value={props.name}/>