Re:How UI-driven state increases accidental complexity
by supermatt on Wednesday March 25, 2020 @10:51AM
(#22685055)
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.
Sure, you can denormalize too - but all the more reason to use selectors then to restructure your data.