1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Redux 1.0 正式版发布,Flux 热重载工具 下载

本帖由 漂亮的石头2015-08-16 发布。版面名称:软件资讯

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,354
    赞:
    47
    Redux 1.0 正式版发布!此版本相比 1.0.0-rc 版本只有一个重大改进:


    • If dispatch is attempted while reducer is executing, an error is thrown. Note that you can dispatch from lifecycle hooks just fine. It's only reducers that are not allowed to dispatch. (#368)

    GitHub 库迁移到:https://github.com/rackt/redux

    其他改进


    • Unsubscribing during a dispatch is now fixed: #462


    • bindActionCreators now can also accept a function as the first argument: #352


    • Dispatching from iframe now works: #304


    • Symbols can be used as action types: #295 (Note: we don't recommend you to do this, because they're not serializable, so you can't record/replay user sessions.)

    Redux 是最流行的 Flux 衍生类框架之一,它为 JavaScript 应用提供可预测化的状态管理容器,可以用于构建前后端同构应用或移动端应用。

    安装


    npm install redu


    GitHub 地址:https://github.com/rackt/redux/releases/tag/v1.0.0

    相关链接

    * Redux 英文文档:http://rackt.github.io/redux/

    * Redux 中文文档:https://github.com/camsong/redux-in-chinese
    Redux 1.0 正式版发布,Flux 热重载工具下载地址
     
正在加载...