@OmniCatiCoin @OmniCatCoin WARNING! I've connected my arbitrum wallet into this site and I got all my assets drained. This is not an official link, just a SCAM!! Do not connect!
This is a phenomenal web demo. Enabled by window.getScreenDetails() which provides basic live info (size, position etc) from all screens on the device.
"80% of code should live in libraries and 20% in the app" I think the library part is even bigger if we think about external dependencies🤯 #jspolandconf#js@prodromouf
@almonk@sindresorhus I'm not sure if I do it well in Typescript, but I usually avoid using enums and I do things like
type colors = 'red' | 'green' | 'blue'
It maintains type checking and code completion, not adding much boilerplate
@_danielcaldas @skyl4nk @BrendanEich@toly@davegullo@OVioHQ@brave@jamie247 The problem with this JS example is that the UI doesn't get refreshed when the tags get updated. React (an others UI frameworks) is not only about outputting, is about keeping data and UI in sync.