advantages of using sagas react code example
Example: react sagas state
import { select } from 'redux-saga/effects';
...
let data = yield select(stateSelectorFunction);
import { select } from 'redux-saga/effects';
...
let data = yield select(stateSelectorFunction);