2 ms·
I switched from Knockout to AngularJS. Knockout basically thoroughly entangles itself with my model -- I have to wrap my attributes in ko.computed() or ko.obse
by jacques_chester 13y ago
I switched from Knockout to AngularJS.
Knockout basically thoroughly entangles itself with my model -- I have to wrap my attributes in ko.computed() or ko.observable().
That makes unit testing messier and leaves me constantly trying to remember what is left as .dataAtttribute and what's been transformed into .dataAttribute().
I have to declare the bindings in Angular also, but after that it largely leaves my code alone. I shaved about 10% off my model code when I switched.