使用
React
全家桶完成web端简书
create-react-app
:官方基于webpack
提供的脚手架工具react16.5
: 构建前端页面JS
库 ;react-Router
: 前端路由库,组件的切换和状态的变化 ;react && react-redux
:react
中的redux
库,完成数据全局状态共享;react-thunk
: 实现redux
异步action
中间件;immutable
: 提供持久化不可变数据结构;antd
:UI
组件, 快速实现一些常见的UI
组件以及Icon
;react-transition-group
: 实现其中过渡效果;style-component
:css
模块化, 组件化样式的实践;
# install dependencies
yarn start
# serve with hot reload at localhost:8080
yarn start
# build for production with minification
yarn build