3 ms·
Action creators do not read anything from the state. They are only for mutations. You read from the state by literally digging into the JS object. Not sure wha
by jlongster 11y ago
Action creators do not read anything from the state. They are only for mutations. You read from the state by literally digging into the JS object.
Not sure what else to say, actions and queries are completely different things.