Level 122
Depends if your server knows something that is of immediate use to the client page.
For instance, if your server is preparing a report that takes time to produce, you might generate a SSE to tell the user that their report is ready.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have a simple doubt, when should we use SSE event in JS and it it really helpful or not?
Please or to participate in this conversation.