UNPKG

infrastructure-components

Version:

Infrastructure-Components configure the infrastructure of your React-App as part of your React-Components.

10 lines (9 loc) 251 B
"use strict"; function memoize(fn) { var cache = {}; return function(arg) { return void 0 === cache[arg] && (cache[arg] = fn(arg)), cache[arg]; }; } Object.defineProperty(exports, "__esModule", { value: !0 }), (exports.default = memoize);