Post #2138804
2026-05-05 14:13 UTC
I played around with the new (experimental) `query.live()` remote functions in #sveltekit. Used #wienerlinien public transit depatures from their real-time endpoints –`query.live` is a really good fit for something like this (pulling the data every 15 seconds and updating the UI accordingly).
I feel the docs could be clearer on how the transport actually works. It's neither server-sent event, nor websockets – it's regular GETs with chunked responses!
https://svelte.dev/docs/kit/remote-functions#query.live
Replies (1)
-
@amackif@mastodon.social 2026-05-05 14:27
@grooovinger@mastodon.social this needs a node+sveltekit on the backend to work, right?