Custom
data-*attributes in HTML5 are pretty rad. They’re especially handy for stashing small amounts of data and retaining minimal state on the DOM. Turns out, they can also be used for one-way data binding!I’ve been using a nifty trick in recent projects that I thought would be worth…






