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 9dd8258 commit d97fba3Copy full SHA for d97fba3
modules/experimental/AsyncProps.js
@@ -6,8 +6,7 @@ var contextTypes = {
6
asyncProps: shape({
7
reloadComponent: func,
8
propsArray: array,
9
- componentsArray: array,
10
- routerState: object
+ componentsArray: array
11
})
12
};
13
@@ -189,8 +188,7 @@ var AsyncProps = React.createClass({
189
188
return {
190
asyncProps: Object.assign({
191
reloadComponent: this.reloadComponent,
192
- loading: this.state.previousProps !== null,
193
- routerState: this.state.previousProps || this.props
+ loading: this.state.previousProps !== null
194
}, this.state.asyncProps),
195
196
},
0 commit comments