Skip to content

Using Unleash with Svelte SSR #9094

Answered by gastonfournier
JE4GLE asked this question in Q&A
Discussion options

You must be logged in to vote

Oh... If that's the problem it might be related to https://github.com/Unleash/unleash-client-node/blob/2e59c9645b4bee1320bbd4448a5736f3849432c1/src/unleash.ts#L93-L97

This is a feature we've built to help notify users about potential mis-configurations, which was a recurring topic. And we didn't have a case were you'd need two clients (perhaps we should differentiate between frontend and backend clients 🤔). But if that's the issue you're facing, you can disable that check from the configuration of Unleash: https://github.com/Unleash/unleash-client-node/blob/2e59c9645b4bee1320bbd4448a5736f3849432c1/src/unleash-config.ts#L35

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@JE4GLE
Comment options

@gastonfournier
Comment options

@JE4GLE
Comment options

@gastonfournier
Comment options

Answer selected by JE4GLE
@FredrikOseberg
Comment options

@JE4GLE
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants