projects/core/utils/memo.util.ts
Creates a memoized version of a single-argument pure function. Each call to memoize() produces an independent cache.
memoize()
const expensive = memoize((id: string) => computeHeavy(id)); expensive('a'); // computes expensive('a'); // cached
memoize(fn)
V