News for hackers. Stuff that matters.
Re:A Primer for Building Single Page Applications with React by Bahamut on Tuesday March 24, 2015 @04:48PM (#9259381)
In React, you would do <a onClick={this.props.foo('value')}> (for example) - JSX would interpolate that and set up the appropriate click binding, and the function is local to the component.

There are no comments on this comment yet.