Isn’t it surprising that in 2023, 15 years after swipe gestures became mainstream, there still isn’t a native “swipe” event? Authors still have to use libraries for such a basic thing or hack it together with low-level pointer events.
[New blog post!]: The failed promise of Web Components
lea.verou.me/2020/09/the-failed-…
This started as a series of tweets, but I quickly realized I needed something more long form to properly unfold my thoughts.
New blog post!
Today I tried to help a friend who’s a CS scientist but not a JS person try out a JS module he found on Github and wow, the modern JS ecosystem is so unfriendly to newcomers it made me embarrassed.
lea.verou.me/2020/05/todays-java…
Now that all modern browsers support SVG favicons, here’s how to turn any emoji into a favicon.svg:
<svg xmlns=”w3.org/2000/svg” viewBox=”0 0 100 100″>
<text y=”.9em” font-size=”90″>💩</text>
</svg>
Useful for quick apps when you can’t be bothered to design a favicon! t.co/S2F8IQXaZU
Software Design Pattern, n: Logic every good developer follows anyway, but with 3x the amount of code said developer would have written.
So true. Infinite scrolling isn’t a great UX choice in many scenarios. xkcd.com/1309/