Optional
disableOpt out of caching the results. The cache uses a WeakSet and speeds up repeated checking processes. The cache is automatically disabled if no browser support for WeakSet is present.
Optional
getThe function that will be used to retrieve entries from each
value. If unspecified, Object.entries
will be used. Defaults
to undefined
.
Optional
ignoreOpt out of checking actions. When set to true
, other action-related params will be ignored.
Optional
ignoredAn array of dot-separated path strings or regular expressions to ignore when checking for serializability, Defaults to ['meta.arg', 'meta.baseQueryMeta']
Optional
ignoredAn array of action types to ignore when checking for serializability. Defaults to []
Optional
ignoredAn array of dot-separated path strings or regular expressions to ignore when checking for serializability, Defaults to []
Optional
ignoreOpt out of checking state. When set to true
, other state-related params will be ignored.
Optional
isThe function to check if a value is considered serializable. This
function is applied recursively to every value contained in the
state. Defaults to isPlain()
.
Optional
warnExecution time warning threshold. If the middleware takes longer
than warnAfter
ms, a warning will be displayed in the console.
Defaults to 32ms.
Options for
createSerializableStateInvariantMiddleware()
.