|
@@ -114,9 +114,6 @@ export default class AsyncComponent<
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // Compatibility shim for child classes that call super on this hook.
|
|
|
- UNSAFE_componentWillReceiveProps(_newProps: P, _newContext: any) {}
|
|
|
-
|
|
|
componentDidUpdate(prevProps: P, prevContext: any) {
|
|
|
const isRouterInContext = !!prevContext.router;
|
|
|
const isLocationInProps = prevProps.location !== undefined;
|