ReactJS 路由解决方案,React Router v2.0.0-rc4 发布
 jopen 10年前
   
  
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.
-     Addedrenderprop toRouter 
-     Added singletonbrowserHistoryandhashHistory 
-     AddedcreateMemoryHistory 
-     Deprecated all mixins 
-     Replacedcontext.historywithcontext.router 
-     Deprecated Route Componentprops.history 
-     Deprecatedcontext.location 
rc3:
-     Rebuilt withhistorycorrectly included. 
-     Don’t createbrowserHistoryon the server 
rc4:
-     Also do not create ahashHistoryon the server.