尝试将redux简化,并结合Typescript,增强类型检查 ts的编写借鉴了rematch的代码,比如通过reducers/effects推导actions的类型: https://github.com/rematch/rematch