Thomas Steiner (@tomayac)

Hamburg, Germany

The below is an off-site archive of all tweets posted by @tomayac ever

January 2nd, 2020

@olivierlacan Neat! One pitfall, though: this approach breaks on browsers that don’t support `prefers-color-scheme`, or for users who have it set to `no-preference`. Here’s my suggestion: web.dev/prefers-color-ā€¦. See it in action on my blog.

via Twitter Web App in reply to olivierlacan

JavaScript regular expressions: `.lastIndex` and the flags /g and /y: 2ality.com/2020/01/regexpā€¦. One of my nastiest bugs in my career so far involved learning about this. Highly recommended reading! šŸ™‡ā€ā™‚ļø

via Twitter for iPhone