加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

React-redux项目最好示例

发布时间:2020-12-15 07:37:13 所属栏目:百科 来源:网络整理
导读:http://react-redux.herokuapp.com/ This starter boilerplate app uses the following technologies: Isomorphic Universal rendering Both client and server make calls to load data from separate API server React 构建用户界面的JavaScript库 React R

http://react-redux.herokuapp.com/

This starter boilerplate app uses the following technologies:

  • Isomorphic Universal rendering
  • Both client and server make calls to load data from separate API server
  • React 构建用户界面的JavaScript库
  • React Router 针对react的路由控制库
  • Express Node.js Web框架
  • Babel for ES6 and ES7 magic 转换器
  • Webpack for bundling
  • Webpack Dev Middleware
  • Webpack Hot Middleware
  • Redux’s futuristic Flux implementation
  • Redux Dev Tools for next generation DX (developer experience). Watch Dan Abramov’s talk. 可以查看Redux 结构的开发工具
  • Redux Router Keep your router state in your Redux
    store 将路由保存在Redux store 中
    -ESLint to maintain a consistent code style 代码检测插件
    -redux-form to manage form state in Redux
    -multireducer combine several identical reducer
    states into one key-based reducer
    -style-loader and sass-loader to allow import of stylesheets
    -bootstrap-sass-loader and font-awesome-webpack to customize Bootstrap and FontAwesome
    -socket.io for real-time communication

特点: 1. 多个组件订阅相同Redux store 片段 2. 服务端数据加载 3. 数据加载错误验证 4. 会话登录 5. 重定向 6. 权限视图控制,通过 routers.js 中的 onEnter 7. Redux store 管理 8. WebSockets

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读