<story><title>Show HN: Way.js – Simple, persistent, framework-agnostic two-way databinding</title><url>http://gwendall.github.io/way/</url></story><parent_chain></parent_chain><comment><author>lhorie</author><text>Maybe I&amp;#x27;m just missing something, but is there no way to deal with arrays? You know, like looping through data and displaying things for each of them? (also related: what about looping through Object.keys()?)&lt;p&gt;What about dates? And data parsing&amp;#x2F;formatting in general?&lt;p&gt;Those are kind of important for a bi-directional bindings library. Remember that the Javascript data is usually the canonical data and the displayed data is derived from it, not the other way around.&lt;p&gt;If you want to compare w&amp;#x2F; Knockout&amp;#x2F;Angular&amp;#x2F;etc then there&amp;#x27;s even more stuff that could be considered as &amp;quot;missing&amp;quot;  (e.g. condiditionals, partials&amp;#x2F;components, how-do-i-use-select2-with-it, etc). One could argue those are out of scope for a lightweight library, but then again, I think this library has too many dependencies for something that advertises itself as &amp;quot;lightweight&amp;quot;.&lt;p&gt;My own framework Mithril ( &lt;a href=&quot;http://lhorie.github.io/mithril&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;lhorie.github.io&amp;#x2F;mithril&lt;/a&gt; ) for example is ~5kb gzipped, has no dependencies, and allows you to do quite a bit more in terms of templating and data binding.&lt;p&gt;Incidentally, I wrote a article a while back about how two-way binding isn&amp;#x27;t even always the best answer to your questions, and that there are often better ways to update javascript data from forms: &lt;a href=&quot;http://lhorie.github.io/mithril-blog/asymmetrical-data-bindings.html&quot; rel=&quot;nofollow&quot;&gt;http:&amp;#x2F;&amp;#x2F;lhorie.github.io&amp;#x2F;mithril-blog&amp;#x2F;asymmetrical-data-bindi...&lt;/a&gt;</text></comment>
<story><title>Show HN: Way.js – Simple, persistent, framework-agnostic two-way databinding</title><url>http://gwendall.github.io/way/</url></story><parent_chain></parent_chain><comment><author>sleepyhead</author><text>Why use invalid &amp;#x27;way-data&amp;#x27;-attributes when there is data-attributes?</text></comment>