attribute-specific rendering
matthewmueller opened this issue · comments
Re-rendering everything after each change of the model is usually too expensive.
Different models have different ways of listening to attributes (change title
, change:title
, etc), but I think this could be configured. I like how rivets does the adapter configuration, although it could be simplified and have sensible defaults.
My event model splits on spaces, so I use colon delimited, i.e. "change:name". It would be great if the event name creation could be configured, even if it was just eventChangeName = function(event) { return "change " + event }
fixed after the rewrite, things are more efficient now