March 2018
Intermediate to advanced
364 pages
8h 21m
English
Next up is adding the constants. Constants are a nice thing to have; they protect us from making mistakes due to us mistyping when we deal with action creators as well as reducers:
// counter/counter-list/counter-list.constants.tsexport const ADD_COUNTER_ITEM = "add counter item";export const REMOVE_COUNTER_ITEM = "remove counter item";
Read now
Unlock full access