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

新闻 React Router v2.0.0-rc4 发布,ReactJS 路由解决方案 下载

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

  1. 漂亮的石头

    漂亮的石头 版主 管理成员

    注册:
    2012-02-10
    帖子:
    487,370
    赞:
    47
    React Router v2.0.0-rc4 发布,rc2 -rc 4更新内容如下:

    rc2:

    Lots of stuff! Here's the summary.


    • Added render prop to Router


    • Added singleton browserHistory and hashHistory


    • Added createMemoryHistory


    • Deprecated all mixins


    • Replaced context.history with context.router


    • Deprecated Route Component props.history


    • Deprecated context.location

    rc3:


    • Rebuilt with history correctly included.


    • Don’t create browserHistory on the server

    rc4:


    • Also do not create a hashHistory on the server.

    更多内容请看:https://github.com/rackt/react-router/releases

    React Router 一个用于 React.js 的路由解决方案(routing solution)。它轻松可以同步你的 app 和 URL,同时给嵌套,转换,和服务端渲染一流的支持。
    React Router v2.0.0-rc4 发布,ReactJS 路由解决方案下载地址
     
正在加载...