database instances on reloads
ryanflorence opened this issue · 1 comments
ryanflorence commented
warn(prisma-client) There are already 10 instances of Prisma Client actively running.
need to do the silly global
tricks we do in Remix stacks.
pcattori commented
Huh, I already to that here: https://github.com/pcattori/remix-webpack-demo/blob/main/app/lib/db.server.ts