想问下大家 React 项目都用的什么技术栈?
路由基本就是 reactrouter,其他方案呢,fetch/axios?redux/mobx?thunk/saga?
react + react-router + react-redux + saga + reselect + webpack + es6 + typescript + sass
Simple “selector” library for Redux (and others) inspired by getters in NuclearJS, subscriptions in re-frame and this proposal from speedskater.
reselect 可以减少 state 改变带来的渲染压力