eslint-plugin-redux-saga icon indicating copy to clipboard operation
eslint-plugin-redux-saga copied to clipboard

Enforce usage of selector functions on state in sagas

Open damrem opened this issue 4 years ago • 2 comments

For the same reasons than https://github.com/pgilad/eslint-plugin-react-redux/blob/master/docs/rules/use-selectors-on-state.md, we should enforce usage of selector functions on state in sagas.

damrem avatar Aug 12 '19 15:08 damrem

Thanks for the suggestion. Will you be able to work on a PR? I can't say when I will be able to work on it.

pke avatar Aug 14 '19 15:08 pke

@damrem can you give me an example where this should be enforced with sagas?

pke avatar Dec 06 '19 22:12 pke