Dwitter
A social network for snippets of JavaScript effects in canvas, written in 140 characters or fewer. Impressive!
Related links
The State of ES5 on the Web
This is grim:
If you look at the data below on how popular websites today are actually transpiling and deploying their code to production, it turns out that most sites on the internet ship code that is transpiled to ES5, yet still doesn’t work in IE 11—meaning the transpiler and polyfill bloat is being downloaded by 100% of their users, but benefiting none of them.
It’s about time I tried to explain what progressive enhancement actually is - Piccalilli
Progressive enhancement is a design and development principle where we build in layers which automatically turn themselves on based on the browser’s capabilities.
The idea of progressive enhancement is that everyone gets the perfect experience for them, rather than a pre-determined “perfect” experience from a design and development team.
“Just” One Line - Jim Nielsen’s Blog
There’s a big difference between the interface to a thing being one line of code, and the cost of a thing being one line of code.
A more acute rendering of this sales pitch is probaly: “It’s just one line of code to add many more lines of code.”
And as Chris puts it:
Every dependency is a potential vulnerability
Offloading JavaScript With Custom Properties: HeydonWorks
With classes, we can send CSS static values but with custom properties we can send dynamic ones, which is a major shift in the way we can style state. This is something that has been true for some time—and is extremely well supported—but sometimes it takes solving a small real-world problem to make you appreciate the value of it.
I think we still haven’t come to fully appreciate the superpower of custom properties: dynamic values that are shared between CSS and JavaScript.
Related posts
Suspicion
Responses to my thoughts on why developers would trust third-party code more than a native browser feature.
Trust
I’m trying to understand why developers would trust third-party code more than a native browser feature.
Accessible interactions
Abstracting common interaction patterns as a starting point for accessible components.
A polyfill for button type=”share”
Kicking the tyres on a declarative Web Share API.
Custom properties
Don’t touch that DOM.