File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
# CHANGELOG
2
2
3
+ ## 0.36.0 (Jul 12, 2016)
4
+ - Router: Avoid unnecessary ` setPath() ` calls when receiving identical props. Fixes #177
5
+ - CaptureClicks: Potentially breaking change:
6
+ - Previously, ` <CaptureClicks> ` would call ` props.gotoURL() ` (default: ` window.location.href = e.href ` ) as soon
7
+ as the first router failed to match. This was error-prone as it depended on the registration order of routers.
8
+ Subrouters with limited routes could cause navigation not to occur.
9
+ - This was masked somewhat by the extraenous ` setPath() ` calls. Navigation would occur, but ` onNavigation ` would
10
+ not fire.
11
+ - Now, ` <CaptureClicks> ` calls ` props.gotoURL() ` only if all routers fail to match.
12
+
3
13
## 0.35.0 (Jul 1, 2016)
4
14
- Update for React v15.2.0: attempt to pass fewer unknown props to DOM elements.
5
15
- Tighten up some missing ` propTypes ` .
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-router-component" ,
3
- "version" : " 0.35 .0" ,
3
+ "version" : " 0.36 .0" ,
4
4
"description" : " Declarative router component for React" ,
5
5
"main" : " index.js" ,
6
6
"dependencies" : {
71
71
"publishConfig" : {
72
72
"registry" : " https://registry.npmjs.org"
73
73
}
74
- }
74
+ }
You can’t perform that action at this time.
0 commit comments