Next.js hot reloading on a development environment creates a new instance of Prisma (and any other database client). See https://github.com/vercel/next.js/issues/7811. This checks the environment of the Next.js app, and spins-up a Prisma instance accordingly.
Next.js hot reloading on a development environment creates a new instance of Prisma (and any other database client). See https://github.com/vercel/next.js/issues/7811. This checks the environment of the Next.js app, and spins-up a Prisma instance accordingly.