发布于 2015-12-31 00:23:06 | 370 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

React Router 路由解决方案

React Router 一个用于 React.js 的路由解决方案(routing solution)。它轻松可以同步你的 app 和 URL,同时给嵌套,转换,和服务端渲染一流的支持。


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 V4 正式版发布,React 路由解决方案
React Router 2.0 发布,React 路由解决方案
React Router v2.0.0-rc4 发布,ReactJS 路由解决方案
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务