News for hackers. Stuff that matters.
Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by thenewestkid on Thursday August 31, 2017 @04:37AM (#15139007)
Valid point. You can move that logic to the component and leave the store for pure data manipulation and handling only. I do that for bigger projects, but in this case I wanted to make things short.

The goal of this series is not to teach patterns but to promote a simple and flexible stack that you can use with the patterns that you like. (In your case you can move the view specific logic to the level of the components).

Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by cies on Thursday August 31, 2017 @07:01AM (#15139456)
I came here to say the same as whalesalad. This is not just a "you can do that if you wish" situation. This is more a case of "so much anti-pattern that it turns off readers".
Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by thenewestkid on Thursday August 31, 2017 @07:09AM (#15139484)
As you wish (: You convinced me, I edited the gists and removed the antipattern. Please review it if you have a spare minute. Thx!
Re:The Simplest React Stack – Part 1: Bootstrapping and Stat... by cies on Thursday August 31, 2017 @12:26PM (#15141420)
Most welcome. Looks so much better. And it was whalesalad to report it first :) Have a great day!