Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Wozza638787y@Forside I thought knockout was just endif. And this is the wrong way of using it. But it's still a very useful feature as it keeps the JavaScript cleaner and should be bound to an observable to update dynamically.
-
Forside14597y@Wozza365 I don't know much about knockout, but the bindings seem ok. Looks pretty much like react, angular and whatever alike. No idea why there are so many frameworks doing the same.
-
Wozza638787y@Forside knockout I believe is a lot smaller than angular etc as it's not really designed to be used for full web applications, just not dynamic pages. It's super easy to use and set up, great if you are doing a smaller website but want something better than jQuery.
-
Wozza638787y@Forside yeah occasionally jQuery is still necessary, but it reduces usage and makes JavaScript more readable. We have some pages without knockout and it's all just jQuery selectors and it's unreadable.
Just came across this in a website project of my company.... and it goes on for about 5 times of that. But it's not in the html code, guess it comes from some js framework. Not sure if bug in framework or bad code in website.
rant
end.if