red-gold / react-social-network

Simple React Social Network
https://medium.com/@qolzam/create-social-network-by-react-js-fe60010a32e6
MIT License
490 stars 484 forks source link

[Upgrade]Moving from redux-thunk to redux-observable/redux-saga #48

Closed Qolzam closed 5 years ago

Qolzam commented 6 years ago

redux-thunk is sweet simple and easy to work. However since project grow it's more difficult to manage side effects and we need more complicated solutions but reliable.

There are two remarkable options redux-observable and redux-saga. Each has it's own advantage but redux-saga seems more clear to manage stuff and it's more handy (my personal idea :) ). In some cases in current project redux-saga solving problems with less complex code. May in other situations redux-observable is better!

I plan to create branch name v0.5 to keep only redux-thunk version of React Social Network. Therefore v0.6 would be React Social Network with redux-saga.

I appreciate any contribution 👍