And just like that our views now take a smaller subset of state than the full AppState
, which means the stores that power the views are starting to look a lot more like the reducers that power them.
It’s also worth noting how simple these changes were, and how quick we made them. We merely changed the state that the views operated on to focus in on just what they needed, and then we made sure that the stores we passed to those views were transformed in order to pluck out these values.