⚡ Fix a WeakMap-Backed Cache Silently Losing Entries Because the Key Object Gets Re-Created on Every Render Instead of Reused A WeakMap is keyed by object identity, not by value equality or any serialized form of an object’s contents. Building a brand-new object literal inside the very function that performs the cache lookup – a […]