4 ms·
Yep; feeling this pain. I was casting around for a simple way to implement a responsive UI in our latest application and Knockout appeared to be a good option
by ErrantX 15y ago
Yep; feeling this pain.
I was casting around for a simple way to implement a responsive UI in our latest application and Knockout appeared to be a good option (I'd not come across Backbone at that point).
Now it just feels like more work... I have written so many custom bindings it is unreal!
(I realise this is, as the author notes, mostly my failing in writing JS :))
- exogen 15y agoI use Knockout heavily at work and agree that it can become a mess. But most of the ugliness I've seen is when people try to be too clever, not really understanding what Knockout can already do (e.g. writing custom bindings to do lots of 'dynamic' stuff, when each binding is already essentially a dependentObservable and perfectly capable of doing what they want). I actually find writing custom bindings pretty enjoyable. That's where the nice separation and reusability come from.