News for hackers. Stuff that matters.
Re:React: Mixins Considered Harmful by msane on Thursday July 14, 2016 @01:13AM (#12091781)
> easy-to-reason-about redux-style state reducers

This buzz phrase "easy to reason about" is so popular in the React world. I feel like I'm the only one who finds it oxymoronic. Especially with regard to Redux, which I think is anything but.

Angular 1/2, Ember, Backbone are all pretty "easy to reason about", so much so that it is rarely pointed out.

Re:React: Mixins Considered Harmful by mercurial on Thursday July 14, 2016 @02:14AM (#12091972)
What do you find hard to reason about when it comes to Redux? There is some terminology, but the heart of Redux is a pure function that takes a state, new information, and returns a new state. That's hardly rocket science.
Re:React: Mixins Considered Harmful by szensius on Thursday July 14, 2016 @03:10AM (#12092131)
You are definitely not the only one who has not found Redux "easy to reason about". I think the concepts are somewhat straightforward, but in practice are a little harder to grasp, especially in real world applications.
Re:React: Mixins Considered Harmful by oldboyFX on Thursday July 14, 2016 @10:00PM (#12098532)
> the concepts are somewhat straightforward, but in practice are a little harder to grasp, especially in real world applications.

Well said.