diff --git a/src/utils/memoize.js b/src/utils/memoize.js index c49bda1c7..b0d7d3745 100644 --- a/src/utils/memoize.js +++ b/src/utils/memoize.js @@ -42,6 +42,10 @@ function memoize(object, properties) { } object[property] = function (...args) { + if (window.__NO_MEMOIZE) { + return original.apply(this, args) + } + const keys = [property, ...args] this.__cache = this.__cache || new Map()