Client side singleton for heavy resource allocation

Is there a way to create a global singleton for client side without initialising again on page loads? In my case, I'm preloading a synthesizer on the web, which takes time to load. Disabling SSR and using only client side routing for subroutes could work. But how would you do that?
1 Reply
Want results from more Discord servers?
Add your server