HistoryLoader doesn't need to writeQuery when nothing changed.
@@ -109,7 +109,6 @@ export default function withHistoryLoader(WrappedComponent) {
}
});
}
- }
nextProps.client.writeQuery({
query: FAKE_HISTORY_QUERY,
variables: {histQueryKey: nextProps.histQueryKey},
@@ -134,6 +133,7 @@ export default function withHistoryLoader(WrappedComponent) {
});
}
}
+ }
componentWillMount() {
this.historyLoadedRuns = {};
