Pergunta de entrevista da empresa 5D Solutions India

How redux Saga helps make asynchronous flow easier and what role does Generators have here ?

Resposta da entrevista

Sigiloso

10 de ago. de 2020

Generators are functions that can be used to start and pause a function whenever required, and we can get multiple return values using yield. In reduxsaga yield is a built in function, which allows use of generator function sequentially. Redux saga has helper function for creating asynchronus actions.