I write about front-end web development. I'm inspired by Nathan Barry's motto,
teach everything you know. I also take a lot of inspiration from my friend and mentor, Chris Ferdinandi.
Search my blog
In my last post, I wrote about my preferred approach for event delegation. I like to attach my event listeners as close as possible to the target elements. Here’s how I do that in Reef, a small library my friend Chris Ferdinandi created. It lets you create reactive, state-based components with much less overhead than the big frameworks like React.