Skip to content

Commit

Permalink
Update src/utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson authored Mar 12, 2020
1 parent a5ff5f4 commit 11d1bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function getTimeMeasureUtils(maxDelay: number, fnName: string) {
warnIfExceeded() {
if (elapsed > maxDelay) {
console.warn(`${fnName} took ${elapsed}ms, which is more than the warning threshold of ${maxDelay}ms.
If you are passing very large objects into your state, you might to disable the middleware as it might cause too much of a slowdown in development mode.
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
It is disabled in production builds, so you don't need to worry about that.`)
}
}
Expand Down

0 comments on commit 11d1bf7

Please sign in to comment.