Créer un site internet

redux saga takeLatest vs takeEvery

redux saga takeLatest vs takeEvery :

takeEvery allows multiple fetchData instances to be started concurrently. 
Unlike takeEvery, takeLatest allows only one fetchData task to run at any moment. And it will be the latest started task. If a previous task is still running when another fetchData task is started, the previous task will be automatically cancelled.
 

https://github.com/redux-saga/redux-saga/blob/master/docs/basics/UsingSagaHelpers.md

https://redux-saga.js.org/docs/api/

 

best practices reactjs