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
https://docs.solidjs.com/solid-start/reference/config/define-config#parameters
see the ssr property
Also maybe consider using
https://docs.solidjs.com/solid-start/reference/client/client-only