“However, Server Sent Events (SSE) are a simpler alternative that is often superior.”
Most “real-time” apps only push data one way, from server to browser. WebSockets make you give up compression, HTTP/2 multiplexing and friendly proxies to get a channel you barely use in reverse. SSE is plain HTTP and has been in browsers for over a decade. Teams reach for WebSockets because it sounds more serious.