1.redux redux主要有store(存放数据的地方),state(对象或者数组),action(改变state的指令),reducer(纯函数根据action接受以前的state返回新的state),dispatch(发出action指令,触发reducer函数)