1.view通过dispatch发出action
2.store自动调用reducer,传入state和收到的action,reducer返回新的state
3.state一旦有变化,store调用监听函数,更新view