Skip to content

Using client-side code in onMount? #176

Closed Answered by ai
kjurel asked this question in Q&A
Apr 8, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

But am I right that the same store initializers will be called on the server, when you don’t have MediaStream?

So you need some if to detect server and do another initializing there.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kjurel
Comment options

@ai
Comment options

@kjurel
Comment options

@ai
Comment options

Answer selected by ai
@kjurel
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
2 participants