17 Replies
the if check for lobby isnt triggered but then status is rendered as lobby at the end
@b1mind please explain sir
Don't tag people/mods for questions sir
I'm still waking up and you over-complicated code always makes me crazy give me a sec
Like this whole abstraction just scares me already idk know whats going on.
my first guess would be that status or uuid updates aren't triggering reactivity
I'm mod I can break the rules
I tried with the $ and it no work
This is a great guess, but yea we need to see more of the code
put it in a repl
SvelteLab
SvelteLab
A REPL for SvelteKit projects: quickly spin up a SvelteKit project and share it with the world.
it has client and server
Then use the thing
I just linked you..
probs quicker to figure out myself but I will learn your repl thing hehe
Its amazing honestly they guys did a great job and won their category for the hackathon with it.
But its uses web containers like learn.svelte does so you can spin up serverside too.
I can't see a way to add a separate server
oh its a mono repo?
why though?
mono repo but one side kit and other just a node app
😮
Oh cause websockets lol
because svelte does not support web sockets well and I hated having all my server code in the vite.config.js
dw I will fix it myself
Kit needs to add an internal solutions already
I put matia's socketio tut on the gh issue and it got super popular
and how dare you call my code uglyl