Awesome Reviewers

When implementing caching layers/providers and cache-driven handlers:

Example: safe config merge (avoid mutating a shared reference)

// BAD: mutates shared object reference
// Object.assign(query.config, config)

// GOOD: replace with a new merged object
query.config = { ...query.config, ...config }

Example: multi-cache handling pattern (conceptual)

// Instead of using a single default cache ref for focus events,
// maintain a registry/list of active caches and notify all.
activeCaches.forEach((cache) => {
  if (/* visible + online */) {
    cache.refetchAllOnWindowFocus?.()
  }
})

These rules prevent hard-to-debug cross-query/cross-cache state leaks and make behavior correct under multi-cache usage.