A colleague (previous frontend dev, now project management) recently said that Server Sent Events are outdated, but I couldn't find any good reading on this online.
Mainly just articles that compare the benefits and how to do it. Which is really a bummer because we wanted to use them in an upcoming project.
I can't really remember but I think he said the modern way is to use jellyfish (?) or something. I'd have to ask again on Monday.
Does anyone has some input on what is a good way with KotlinJS?
The product is nothing major just some IoT fleet management with real time data.
11/04/2023, 7:31 PM
SSE is a perfectly good solution if you need events from the server and you don’t need bi-directional communication
11/04/2023, 7:38 PM
Thanks, my colleague is very JS, TS, React and has little sympathy for our KotlinJS approach. But his headwind makes me unsure sometimes.
As long as your server supports it you should have no problem.
Sorry I think I assumed you were writing code for the client, but perhaps you are writing a backend application?
11/04/2023, 8:53 PM
I will write both (start is months away) I just wanted to scout out how I will do it.
With the current product, which I will continue to support, I took over an existing project so I mostly continued what my predecessor started.