developit / preact-redux-example

:repeat: Preact + Redux Example Project
https://preact-redux-example.surge.sh
199 stars 53 forks source link

(question) remove model logic from component #9

Closed k1r0s closed 6 years ago

k1r0s commented 6 years ago

Hi @developit

As I'm starting learning redux I have some questions. I only wana know if is correct to remove all state manipulation from components. As long as I understand actions define interactions with the model so I think its ok to place that logic outside components.

thanks!

k1r0s commented 6 years ago

https://github.com/reactjs/redux/issues/1287#issuecomment-175351978