Sign in
Log inSign up

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

AD's photo
AD
·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?