HtmlJs is the most powerful MVVM JavaScript framework. HtmlJs completely separates HTML vs JavaScript but keep them connected together.
Below is some reasons that you should check out HtmlJs.
Tiny but powerful framework
Only 36KB gzip; easy to include without worrying about file size or performance or memory leak; easy to integrate with any JS libraries.Full-fledged framework
Save time and money for HtmlJs has a lot of built-in features. They are all very easy to comprehend.Fluent, beautiful, natural, stable API
All modules using fluent API like Ajax, MVVM, validation, ....
Avoid hard code query with html.idPerformance
HtmlJs performance is absolutely outstanding. Rendering is fast, maybe the fastest one, notifying change is immediate
Check out performance tests Htmljs, KnockoutJs and AngularJs .Easy to debug
HtmlJs doesn't use template. Surprisingly? Sure, no template at all, no more hard code, event meaningful hard code will make you stress in long term project. HtmlJs is designed to reduce as many as magic strings in the application. HtmlJs uses DOM API to render DOM elements, a straight forward way, that's why it's the fastest one. It's the old way of coding Js. Using templates is hard/impossible to attach events, working with recursion, working with loop inside loop, validation, manage variable's context/scope, debug. Anyway template must be parsed into DOM, this must be slower.
Stop using template system, let the dynamic (dynamic HTML) belongs to the dynamic (JavaScript).Extensible custom control
You can never get this feature anywhere else. Every template/string based Js framework has this problem. With HtmlJs, this feature is definitely native, scope of function, scope of variable are still there for you. Your own control will be always light, easy to read, easy to maintain. Again, stop using template system.
Click here to check out ToDo example with best practices
PM> Install-Package HtmlJs
Bower:
$> bower install htmljs