React Redux Saga Crash Course – Make HTTP Requests & Middleware

テクノロジー



Make HTTP requests asynchronously with Redux Saga in React. Redux Saga acts as middleware and can be achieved by leveraging an ES6 feature called Generators.

Hostinger Anniversary Deal ➜ https://bit.ly/3z6Ahvq
⭐ Get a Free .COM domain with Premium Plan for 12+ months. Free SSL and Cloudflare included

🔔 SUBSCRIBE: http://bit.ly/Subscribe-Hong-Ly & turn on the notification bell to get more videos like this.

💻 Source code: https://github.com/lyhd/react-redux-saga

Related crash courses:
React Redux: https://youtu.be/RPFr-hiFiU0
React: https://youtu.be/-sld1zTz3uY
Async/Await: https://youtu.be/RI490V7YOrE

ℹ️ Websites used in this video:
https://redux-saga.js.org/

🌐 Website: https://honglytech.com
GitHub: https://github.com/lyhd
My course: https://honglytech.com/course

🌎 Find me on:
Facebook: https://www.facebook.com/honglytech
Instagram: https://www.instagram.com/hongly_tech
Twitter: https://twitter.com/honglytech
Discord: https://discord.gg/Acn6bpA8

🕒 Timestamps:
00:00 Intro
00:39 Diagram
01:53 Simple example
05:28 Refresh our memory
08:24 action
09:09 reducer
13:37 request function
17:20 sagas
24:50 Middleware
28:59 Display users
37:44 Recap
42:00 takeLatest vs. takeEvery
43:38 Outro

#saga #reactredux #react

Comments

Copied title and URL