登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
0
zzy1661
/
connected-react-router
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v6.1.0
v6.1.0 Fixes ---- - Move onLocationChanged to componentDidMount to avoid side-effect in constructor (#217) - Prevent double-rendering on initilization (#218) - Prevent ConnectedRouter from re-rendering on every redux store update (#208, #216) These fixes are significantly contributed by @Annatsu, @SergeyPoluektov, @jakewies, @firec0der, @madsmadsen, and @supasate Feature ------- - Output ESM build, and make module tree-shakeable (@unindented in #202)
27bb9d5
2018-12-28 04:29
下载
v6.0.0
v6.0.0 Breaking Change --------------- - Support React Router v6 with the new Context API (@supasate in #191) - Require React v16.4 and React Redux v6.0 or later Enhancement ---------- - Throw helpful error when router reducer not mounted under "router" key (@mattvague in #175) - TypeScript: Remove a duplicate LocationChangeAction interface (@lazarljubenovic in #180) - TypeScript: Be more specific on action creators' return type (@lazarljubenovic in #181) - TypeScript: Create and export types for routerActions so they can be imported and used in definitions (@afholderman in #189) Docs --- - Add example for push state using react-redux with connect (@wgao19 in #179) Misc ---- - Add Code of Conduct (@supasate in #182) - Remove unused variables from the examples folder (@Rhuansantos in #190)
66215b1
2018-12-09 17:52
下载
v6.0.0-beta.1
v6.0.0-beta.1 Breaking Change --------------- - Support react-redux v6 by using the new Context API. - Support custom context for <Provider>. - Required upgrading to react-redux v6.
53cff54
2018-11-25 00:29
下载
v5.0.1
v5.0.1 Fixes ===== - Fix TypeScript type for connectRouter (@dimitriirybakov in #169 and @supasate) - Move history library to peer dependencies (@supasate)
c6aced2
2018-11-06 00:16
下载
v5.0.0
v5.0.0 Breaking Change =============== Align public API with react-router-redux and allow various integrations (redux-loop, rematch, etc.) (@sgal in #150) 1. In your reducer file, instead of exporting a root reducer, we need to export a function accepting `history` and returning a root reducer with a router key that uses connectRouter(history). ``` // reducers.js import { combineReducers } from 'redux' import { connectRouter } from 'connected-react-router' export default (history) => combineReducers({ router: connectRouter(history), ... // rest of your reducers }) ``` 2. In store configuration, `` // configureStore.js import { createBrowserHistory } from 'history' import { applyMiddleware, compose, createStore } from 'redux' import { routerMiddleware } from 'connected-react-router' import createRootReducer from './reducers' const history = createBrowserHistory() const store = createStore( createRootReducer(history), // root reducer with router state initialState, compose( applyMiddleware( routerMiddleware(history), // for dispatching history actions // ... other middlewares ... ), ), ) `` Enhancement =========== - Expose router reducer with customized name to make it work with other libraries (redux-loop, rematch, etc) (@sgal in #150) - Add TypeScript definitions for immutable (@thomschke in #145) - Add TypeScript definitions for seamless-immutable (@Brettm12345 in #157) - Use string literal type for CALL_HISTORY_METHOD (@maxhawkins in #147) - Move redux-seamless-immutable to devDependencies (@n3tr in #167) Bug fix ======= - Fix redux state is created on every action (@sgal in #150) - Fix TypeScript error on React 16 (@thomschke in #145) - Fix connectRouter TypeScript definition (@supasate in #156) - Update RouterAction types to be strongly typed on the exact strings (@colbydehart in #149) - Fix FAQ links (@durasj in #162 and #163)
36ee67d
2018-11-03 12:25
下载
v4.5.0
v4.5.0 Feature ====== - Support seamless-immutable (@joeyfigaro in #127 and @Brettm12345 in #138) Fix === - Fix TypeScript example config (@deemoding in #131) - Add missing getLocaltion, getAction, and createMatchSelector for immutable structures in #137)
05f56a3
2018-09-23 23:39
下载
v4.4.1
v4.4.1 - Use string literal type for action type (@OliverJAsh in #64) - Fix: Rename RouterAction(enum) to prevent exported name collisin (@Armour in #117)
32ee014
2018-08-13 10:31
下载
v4.4.0
v4.4.0 Feature --- - Dispatch location change action for initial location (@brian-lives-outdoors @96) - Add selectors (getLocation, getAction, createMatchSelector) (@josepot in #98) - [TypeScript] Add RouterAction (@brian-lives-outdoors in #95). - [TypeScript] Expose an enum for RouterState.action (@tleverett in #106). Enhancement --- - [TypeScript] Use Location type from `history` (@VincentLanglet in #87). - Move react-router to peerDependency (@gustavovnicius in #93). - Add FAQ on server-side rendering (@cereallarceny in #105). Fix --- - Update Redux peer dependency to Redux v4 (@brneto in #75). - Update dependency in a TypeScript example (@tsekityam in #90). - Fix 404 links in Readme (@abenhamdine and @luish in #82, #87, and #94). - Fix typos in FAQ (@Armour and @meesvandongen in #100 and #101). - Improve grammar in README and FAQ (@jbasilio in #112)
f3438f8
2018-08-12 10:50
下载
v4.3.0
7f3a4ac
2017-11-19 22:59
下载
v4.2.3
v4.2.3 - Fix build
1dba048
2017-06-25 20:33
下载
v4.2.2
v4.2.2 - Remove lodash.toPath to reduce file size
c1378cd
2017-06-25 20:15
下载
v4.2.1
v4.2.1 - Fix missing TypeScript file
879190e
2017-05-07 12:45
下载
v4.2.0
v4.2.0 - Support TypeScript
96221b9
2017-05-06 13:26
下载
v4.1.0
v4.1.0 - Upgrade to react 15.5 and react-router 4.1
585c116
2017-04-15 23:00
下载
v4.0.0
v4.0.0 - Use react-router v4.0.0 - Update examples
12f54c4
2017-03-22 17:23
下载
v4.0.0-beta.4
v4.0.0-beta.4 - Add UMD build
7566e02
2017-02-19 17:36
下载
v4.0.0-beta.3
v4.0.0-beta.3 - Support Immutable.js
1e3258b
2017-02-05 01:24
下载
v4.0.0-beta.2
v4.0.0-beta.2 - Use react-router@4.0.0-beta.3 to fix missing files
ad9e2fa
2017-01-31 10:15
下载
v4.0.0-beta.1
v4.0.0-beta.1 - Support new react-router@4.0.0-beta
9d936a1
2017-01-31 02:46
下载
v2.0.0-alpha.5
v2.0.0-alpha.5 - Handle changes of search and hash location in time travelling
3a1337d
2017-01-19 22:01
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
JavaScript
1
https://gitee.com/zzy1661/connected-react-router.git
git@gitee.com:zzy1661/connected-react-router.git
zzy1661
connected-react-router
connected-react-router
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册