What do you use to handle side effects in React-redux
Oghenero Adaware

Oghenero Adaware @finallynero

About: Software Developer. Javascript, React, React-native, Vue and Gatsby

Location:
Nigeria
Joined:
Nov 23, 2017

What do you use to handle side effects in React-redux

Publish Date: Mar 26 '19
6 4

I am about to start a project where I will be using react and redux, In previous applications I have built I used redux-saga to handle side effects like api calls e.t.c but the fact that redux-saga has so much boilerplate code I didn't really enjoy using it. I have used redux-thunk but not in production.

Please what other libraries do you use to handle side effects and why did you choose them over the available alternatives?

Comments 4 total

  • stereobooster
    stereoboosterMar 26, 2019

    redux-loop - you can collocate side effects with the reducer logic

  • Mike Bifulco
    Mike BifulcoMar 26, 2019

    I've always used redux-thunk for side effects. I haven't had any problems in production.

  • Ashish Santikari
    Ashish SantikariMar 26, 2019

    Might want to look at redux-observable. It's pretty amazing and simple to use.
    I cannot compare with other libs as I am relatively new to redux ecosystem.

  • IniZio
    IniZioMar 27, 2019

    One thing I have been thinking... Is a side effect really directly related to a store?

Add comment