A reproduction of memory-related warnings when using sanityClient.fetch
. This makes a simple GROQ query to a given Sanity dataset, and should output the warnings.
To install:
npm install
To run:
SANITY_PROJECT= SANITY_DATASET= SANITY_TOKEN= npm run start