Singleton Object for Dynamically Imported Module in Next.js

后端 未结 0 925
孤街浪徒
孤街浪徒 2020-12-29 04:25

I\'m trying to have a Singleton instance of a dynamically imported module in my Next.js app. However, the current implementation I have seems to initialize a new instance ev

相关标签:
回答
  • 消灭零回复
提交回复
热议问题