Tekkaman

导航

 

combineReducers

  Redux provides a utility called combineReducers().

  The following two diagram has the same effect.

  

  You could also give them different keys, or call functions differently. These two ways to write a combined reducer are equivalent:

  

参考:http://redux.js.org/docs/basics/Reducers.html

posted on 2017-04-29 23:24  Tekkaman  阅读(176)  评论(0编辑  收藏  举报