Dwayne Cole
Jul 10, 2017 · 1 min read

Wow. This was a great read. I would love to read more about this matter. I have a question, as you began the conversion, what class of store attributes ( and corresponding action creators) were the obvious prospects to eliminate. It sounds like the easy targets were anything that fits is pattern

initialState { items: [], item:{} }, with action creators

FETCH_ITEMS_REQUEST, FETCH_ITEMS_SUCCESS, FETCH_ITEMS_FAIL, LOAD_ITEMS.

If the 80/20 rule holds, 80% of the eliminated code came from a small number but repetitive state / store patterns. What were the 2–4 patterns that immediately drew your attention and of those which of those did you later realize was best to actually keep but enhance.

    Dwayne Cole

    Written by