Skip to content

Comment on Knockout: JS library for rich UIs, declarative bindings, and dependency tracking

Comments

Sorry to lead with a criticism but the use of the data- attribute in these examples is kind of ugly. I understand their motives, but if you're going to use data- in a "declarative" way, why not just have multiple declarations of the data- attributes? For example: data-bind-value="firstName" data-bind-text="firstName", etc. I'm sure I'm missing something.

That said, this looks like an interesting library and worth playing around with. I'm loving the huge amount of JS framework experimentation going on.

AboutSource Built by g1lg1l

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