News for hackers. Stuff that matters.
Re:React v0.14 by desuvader on Wednesday October 07, 2015 @02:15PM (#10347819)
Wohoo! .getDOMNode() is finally gone!

Edit: Haha, I just noticed that someone else was also happy about this.

Also, now that classnames is standalone module, I recommend that people start using a standalone implementation of keyMirror (for flux) as well!

Re:React v0.14 by thebigkick on Wednesday October 07, 2015 @10:54PM (#10350671)
Would you mind explaining? As a jQuery believer, to me this looks like a selector method - getElementByID or something. I'm guessing this is against the whole idea of React.
Re:React v0.14 by desuvader on Thursday October 08, 2015 @01:31AM (#10351066)
Refs are simply references to DOM nodes that you have to specify through the ref (HTML) attribute. You can give a DOM node the ref value "foo" and then later reference it in a react component with this.refs.foo (previously this.refs.foo.getDOMNode()).
Re:React v0.14 by hexasquid on Wednesday October 07, 2015 @03:32PM (#10348430)
.getDAMNNode