Open filiptrplan opened 3 days ago
I see this being rather annoying with the constant refreshes?
I see this being rather annoying with the constant refreshes?
SvelteKit can invalidate the data provided by the server and refetch the updated data without actually refreshing the page. I just used the word "refresh", "refetch" would be more appropriate
We could make the website more reactive and leverage websockets to listen for events and refresh the pages when the state of items changes.
Current websockets implementation kinda sucks, i am converting websockets to sse (server side events). We can just have some api call every x second to see if new data 🤔
We could make the website more reactive and leverage websockets to listen for events and refresh the pages when the state of items changes.