Closed dzintars closed 4 years ago
Turns out >RTK (Redux Tool Kit) which kinda implements all best practices is recommending option entities
and ids
So.. i think it is worth to keep it that way. And it's easier to type.
Partial source: https://redux-toolkit.js.org/usage/usage-guide#sorting-entities Source 2: https://frontendmasters.com/courses/redux-mobx/state-store-selectors-with-reselect/ @ 2:00
Closing this as i decided to use entities
and ids
naming convention.
Conventions seems to be:
Source: https://redux.js.org/recipes/structuring-reducers/normalizing-state-shape