We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4713926 commit 13025e6Copy full SHA for 13025e6
src/reduxAutoloader.js
@@ -145,7 +145,8 @@ export default function reduxAutoloader({
145
this.debugLog('startRefresh: on mount with autoRefreshInterval');
146
this.props.startRefresh(getReducerName(this.props), {
147
apiCall: () => apiCall(this.getMappedProps(this.props)),
148
- loadImmediately: (this.props.updatedAt && reloadOnMount) || loadOnInitialize,
+ loadImmediately: (this.props.updatedAt && reloadOnMount)
149
+ || (!this.props.updatedAt && loadOnInitialize),
150
});
151
}
152
0 commit comments