File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 11# CHANGELOG
22
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+
313## 0.35.0 (Jul 1, 2016)
414 - Update for React v15.2.0: attempt to pass fewer unknown props to DOM elements.
515 - Tighten up some missing ` propTypes ` .
Original file line number Diff line number Diff line change 11{
22 "name" : " react-router-component" ,
3- "version" : " 0.35 .0" ,
3+ "version" : " 0.36 .0" ,
44 "description" : " Declarative router component for React" ,
55 "main" : " index.js" ,
66 "dependencies" : {
7171 "publishConfig" : {
7272 "registry" : " https://registry.npmjs.org"
7373 }
74- }
74+ }
You can’t perform that action at this time.
0 commit comments