News for hackers. Stuff that matters.
Re:Redux – Not Dead Yet (2018) by bugeats on Thursday April 09, 2020 @01:11PM (#22824775)
> I think more than anything its important to consider your store in the same manner you would a database

Yes and to keep it normalized. IMO, Redux is incomplete without some sort of selector layer, which acts as the metaphorical database views.

https://github.com/reduxjs/reselect

Re:Redux – Not Dead Yet (2018) by acemarke on Thursday April 09, 2020 @02:57PM (#22825949)
We've recommended normalizing data as a pattern for years [0], but never had any official tooling to support that use case. Redux Toolkit 1.3 now has a new `createEntityAdapter` API that can help with the process of inserting and updating normalized data [1].

[0] https://redux.js.org/recipes/structuring-reducers/normalizin...

[1] https://redux-toolkit.js.org/api/createEntityAdapter