3 ms·
Nice, my first thought was to use LocalStorage. Didn't know about BroadcastChannel. Sounds like OP wanted to use sockets for fun though. >The original work by
by bigyikes 3y ago
Nice, my first thought was to use LocalStorage. Didn't know about BroadcastChannel.
Sounds like OP wanted to use sockets for fun though.
>The original work by Bjorn Staal used localStorage, but I found sockets more fun, because if tweaked a bit, this can be shared with friends.
Who among us hasn't overcomplicated things for fun? :)