Svelte being weird

17 Replies
Zach
Zach•17mo ago
the if check for lobby isnt triggered but then status is rendered as lobby at the end @b1mind please explain sir
b1mind
b1mind•17mo ago
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.
Jochem
Jochem•17mo ago
my first guess would be that status or uuid updates aren't triggering reactivity
Zach
Zach•17mo ago
I'm mod I can break the rules I tried with the $ and it no work
b1mind
b1mind•17mo ago
This is a great guess, but yea we need to see more of the code put it in a repl
b1mind
b1mind•17mo ago
SvelteLab
SvelteLab
A REPL for SvelteKit projects: quickly spin up a SvelteKit project and share it with the world.
Zach
Zach•17mo ago
it has client and server
b1mind
b1mind•17mo ago
Then use the thing I just linked you..
Zach
Zach•17mo ago
probs quicker to figure out myself but I will learn your repl thing hehe
b1mind
b1mind•17mo ago
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.
Zach
Zach•17mo ago
I can't see a way to add a separate server
b1mind
b1mind•17mo ago
oh its a mono repo? why though?
Zach
Zach•17mo ago
mono repo but one side kit and other just a node app
b1mind
b1mind•17mo ago
😮 Oh cause websockets lol
Zach
Zach•17mo ago
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
b1mind
b1mind•17mo ago
Kit needs to add an internal solutions already
Zach
Zach•17mo ago
I put matia's socketio tut on the gh issue and it got super popular and how dare you call my code uglyl
Want results from more Discord servers?
Add your server