|
|
|
|
|
by dmitriid
3189 days ago
|
|
Then either the readme in the proposal is wrong or the unknown babel preset is wrong Also, your example is not equivalent to either the complaint in the original comment or to the code snippet I quoted Also: React has been binding event handlers to `this` since forever without presets (update: only in React.creatClass though) |
|
Yes, with public fields you can write
and it works like if you bound it in the constructor.Hope this helps.