Progressive enhancement with handlers and enhancers

I really like this way of hooking up JavaScript with progressive enhancement — even as I do more and more JS-heavy work these days, I always lean toward things being declarative if possible.

View on hiddedevries.nl