Effect CommunityEC
Effect Community15mo ago
3 replies
morvud

Reusing PgClient to Avoid HMR Connection Errors

I sometimes run into the "PgClient: Failed to connect" error, probably due to HMR. What is the best way to reuse the PgClient layer so it doesn't get recreated every time modules reload?
Was this page helpful?