Svelte being weird

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