3 ms·
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 th
by thenewestkid 9y ago
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).
- cies 9y agoI 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".
- thenewestkid 9y agoAs you wish (: You convinced me, I edited the gists and removed the antipattern. Please review it if you have a spare minute. Thx!
- cies 9y agoMost welcome. Looks so much better. And it was whalesalad to report it first :) Have a great day!