Benjamin Li Benjamin Li - 1 year ago 104
React JSX Question

react with redux, event handler name

I am looking at this source code.

render() {
const { value, onChange, options } = this.props

return (
<select onChange={e => onChange(}
{ =>
<option value={option} key={option}>

my question is, why the event handler is
? I think the standard html attribute is
. and unfortunately, I cannot find any react document about the event handler names


Dez Dez
Answer Source

Event is defined as onChange in ReactJS:

You have some examples of use in ReactJS documentation website:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download