universal-react-saga icon indicating copy to clipboard operation
universal-react-saga copied to clipboard

Brief example of how redux-sagas can be used to asynchronously fetch data in an isomorphic React application.

Universal React Saga

https://medium.com/@navgarcha7891/react-server-side-rendering-with-simple-redux-store-hydration-9f77ab66900a

Useful commands

  • Dependency install npm install
  • Build source npm run build
  • Development server npm start

Useful articles

  • https://yelouafi.github.io/redux-saga/index.html
  • https://yelouafi.github.io/redux-saga/docs/ExternalResources.html
  • https://davidwalsh.name/es6-generators
  • http://www.bennadel.com/blog/3123-using-es6-generators-and-yield-to-implement-asynchronous-workflows-in-javascript.htm
  • http://stackoverflow.com/questions/34930735/pros-cons-of-using-redux-saga-with-es6-generators-vs-redux-thunk-with-es7-async

Useful videos

  • https://www.youtube.com/watch?v=QJVdcIlqGwc
  • https://www.youtube.com/watch?v=H4I9EKGTvCE
  • https://www.youtube.com/watch?v=PnpfGy7q96U