red-gold / react-social-network

Simple React Social Network

Home Page:https://medium.com/@qolzam/create-social-network-by-react-js-fe60010a32e6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Qolzam opened this issue · comments

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 👍