Using Prisma in development

Preventing too many database connections during development

Due to hot reloading you might overload your database with too many connections during development.

Instead of directly importing the Prisma client from @prisma/client, import it this way instead.


If you enjoyed this post please leave a like or two below!!!