3 ms·
The more obvious solution here would be to use a selector instead of using the state directly. Then your 'view' of the data is not tied to the underlying struct
by supermatt 7y ago
The more obvious solution here would be to use a selector instead of using the state directly. Then your 'view' of the data is not tied to the underlying structure of the state.
Sure, you can denormalize too - but all the more reason to use selectors then to restructure your data.