News for hackers. Stuff that matters.
Re:A Silly Usecase for WebSockets (strobe warning) by roveo on Thursday February 24, 2022 @04:40AM (#30452776)
It is a page with a schematic depiction of a floor lamp. "Click anywhere to turn the light on/off" is written below. When you click, the light turns on or off depending on the previous state, and background color changes accordingly between dark and light. The on/off state is the same for all visitors of the page, so, since this is on the front page of HN, it flickers quickly. Hence the strobe warning.

There are no comments on this comment yet.