We wrote a pretty similar (like similar enough its kinda creepy) library[1] a while back and it's really helped speed up our front end dev. I LOVE having params set in data attributes. Makes re-usable modules, like a modal[2]
or autocomplete [3], way easier to implement.
Unfortunately they get crazy bloated when we transpile them down for older ie. I believe we’re going to be using the new Babel stuff to hopefully easy that a bit. Ie 10 is still a sore spot though :/
We try to transtile as little as possible. And we do detect IE so that we can serve special bundles with special polyfills for that browser.
It's not perfect, but it's better for the newer browsers - they get something fact and neat, IE users get a slower one, but they would never get a really nice experience.
It's a super awesome pattern, that makes things super simple and it's super lightweight as well.