News for hackers. Stuff that matters.
Re:React 0.14 Release Candidate by wereHamster on Thursday September 10, 2015 @04:28PM (#10200352)
That was possible with earlier versions of react, with slightly different syntax:

    {Aquarium({ species: "rainbowfish" })}
I've come across many projects which defined lots of small react classes, usually with a one or two line render body, which would be better served as simple functions.
Re:React 0.14 Release Candidate by dustingetz on Thursday September 10, 2015 @04:37PM (#10200397)
Sort of, those functions aren't components, so they don't render async and don't have lifecycle methods or shouldComponentUpdate. (Also unclear if these new function components are actually components)
Re:React 0.14 Release Candidate by spicyj on Thursday September 10, 2015 @04:53PM (#10200492)
They are components in that they render later, but they don't support any lifecycle methods. We'll probably add some sort of "pure" flag via static properties on the function later.