10 ms·
someone posted a similar criticism on reddit: https://www.reddit.com/r/javascript/comments/3tqw5l/simulacrajs_oneway_data_binding_for_web/cx8gz2g https://www.re
by daliwali 11y ago
someone posted a similar criticism on reddit: https://www.reddit.com/r/javascript/comments/3tqw5l/simulacrajs_oneway_data_binding_for_web/cx8gz2g https://www.reddit.com/r/javascript/comments/3tqw5l/simulacr...
it may have been a poor choice to use class names in the example, but I just wanted to demonstrate that the library is not coupled to a certain way of selecting dom nodes. it's entirely possible to use $('[data-binding="my-thing"]'), but not necessary at all.