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 b510c0d commit 90b2d66Copy full SHA for 90b2d66
modules/components/Routes.js
@@ -257,6 +257,7 @@ var Routes = React.createClass({
257
} else {
258
// React does not invoke setState callback if we're still mounting
259
// so we have to store it and invoke in componentDidMount.
260
+ // https://github.com/facebook/react/blob/3bbed150ab58a07b0c4faf64126b4c9349eecfea/src/core/ReactCompositeComponent.js#L900
261
this._initialSetStateCallback = handleStateChange;
262
this.setState(nextState);
263
}
0 commit comments