We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de100e commit 00bfa2dCopy full SHA for 00bfa2d
lib/RouterMixin.js
@@ -4,6 +4,7 @@ var React = require('react');
4
var invariant = require('react/lib/invariant');
5
var matchRoutes = require('./matchRoutes');
6
var Environment = require('./environment');
7
+var merge = require('react/lib/merge');
8
9
var RouterMixin = {
10
mixins: [Environment.Mixin],
@@ -162,6 +163,8 @@ var RouterMixin = {
162
163
navigation: navigation
164
};
165
166
+ navigation = merge(navigation, {match: match});
167
+
168
if (this.props.onBeforeNavigation) {
169
this.props.onBeforeNavigation(path, navigation);
170
}
0 commit comments