News for hackers. Stuff that matters.
Re:React v0.14 by clessg on Wednesday October 07, 2015 @02:28PM (#10347917)
> The idea of having "stateless" UI components in this sense seems ill-conceived, because whether a UI component has state should not be a concern of the user of the component.

I might not understand your point, but the user of the component shouldn't have any need to know whether it's stateful. A stateless `Photo` function component should have the same interface as a `Photo` class component: `<Photo ... />`.

There are no comments on this comment yet.