Moved to https://github.com/nartc/nartc-workspace
// before
state.entities[id]; // returns entity or undefined
// after
state.entities[id]; // returns entity
You should make sure that it is IMPOSSIBLE
to access the entity at some given id
if the entity
is undefined. Eg: via UI, undefined entity shouldn't be rendered.
ActionProps
and SliceState
) have been switched// before
noopReducer<TodoState, { filter: Filter }>();
noopReducer<TodoState>();
// after
noopReducer<{filter: Filter}>();
noopReducer();