WeakMap in react-scan vs next-mdx source code.

In this article, we will review the below code snippet picked from react-scan source code.
⛶const cache = new WeakMap();
export function fastSerialize(value: unknown, depth = 0): string {
...
i...