Tag: WebSockets

WebSockets and React: WSContext and Components Subscription Pattern

In the dynamic world of web development, creating engaging user experiences in real-time is crucial. While conventional HTTP requests are great for static content, they lack interactivity. Enter WebSocket, a protocol allowing two-way communication over one TCP connection. When paired with ...

Mastering WebSockets With Go

If we think about it, regular HTTP APIs are dumb, like, really dumb. We can fetch data by sending a request for the data. If we have to keep data fresh on a website, we will have to continuously request the data, so-called Polling. All Images in this article is made by Percy Bolmér. Goph...