News for hackers. Stuff that matters.
Re:React v15.6.0 Released by vbezhenar on Wednesday June 14, 2017 @05:15AM (#14551511)
Store is a dumb JSON object, you don't need methods for it. Actually ES6 has some very handy syntax like `{...old, newProp: newValue}` to support immutability. And React components can and should use ES6 classes.

If you want pure OOP approach, check out mobx. It's a popular alternative to Redux.

Re:React v15.6.0 Released by acemarke on Wednesday June 14, 2017 @11:20AM (#14553372)
Note that the object spread operator is still only a Stage 3 proposal, although I believe it's just been implemented in Chrome. The array spread operator was in ES6, and JSX syntax also supports an object spread inside of angle brackets.