Sign in
Log inSign up

How to handle concurrent API calls using Refresh Token in redux-saga?

Ashok Dey's photo
Ashok Dey
·Nov 28, 2017

I have built a blog API that uses tokens (short lived say 60 mins) and refresh tokens (long lived say 1 day). How to make API calls via React-Redux app using a generic function to handle cases of multiple API calls successfully instead of aborting them?

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct