0 votes
in ReactJS by

What is the mental model of redux-saga?

1 Answer

0 votes
by

Saga is like a separate thread in your application, that's solely responsible for side effects. redux-saga is a redux middleware, which means this thread can be started, paused and cancelled from the main application with normal Redux actions, it has access to the full Redux application state and it can dispatch Redux actions as well.

Related questions

0 votes
asked Mar 4, 2020 in ReactJS by JackTerrance
+1 vote
asked Jun 25, 2021 in Redux by SakshiSharma
0 votes
asked Dec 14, 2023 in ReactJS by rahuljain1
...