Skip to content

Comment on Rivets.js - Binding data to views

Comments

Great idea. I like it. I'm looking at this as a template engine? Or am I missing something?

It template agnostic, once you've rendered your view you give rivets your DOM element and it will find the data attributes. You could use handlebars, haml or any other templating engine with rivets.

okay. I got it. Actually this replaces separate templates (at least for some cases) for your app. How about the browser compatibility? Have you tested?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.