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.

typescript

0 views

Leave a Reaction below!!! (No login required)