Are there any proposals or any discussions around solving the problem of instance bound class methods with some sugar?
There are examples of people doing things like this: https://github.com/reactjs/react-future/blob/master/01%20-%20Core/01%20-%20Classes.js#L31 My proposal would be to extend method shorthand syntax to support the arrow: ``` class A extends React.Component { handleClick(event)=> { ... } } ``` Which would be sugar for: ``` class A extends React.Component { handleClick = (event)=> { ... } } ``` - Matthew Robb
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

