Redux nowadays : From actions creators to sagas

  • Triggering an action creator happens when dispatching the function returned by the thunk action creator.
  • Basically the idea is, if you need to trigger side effects, use an action creator: a function that returns a function that can do any async call needed and dispatch whatever action you want.
  • a put effect is an effect that will dispatch an action to the Redux Store.

Read the full article, click here.


@survivejs: “#Redux nowadays : From actions creators to sagas

#reactjs”



Redux nowadays : From actions creators to sagas