2 ms·
Om's "parser" and query syntax seems to decouple state read/writes from components in the same way that action creators do, with similar benefits. Reading throu
by ricardobeat 11y ago
Om's "parser" and query syntax seems to decouple state read/writes from components in the same way that action creators do, with similar benefits. Reading through Om.next didn't change that impression, is there any other resource I should look at?
- jlongster 11y agoAction 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.