r/javascript • u/kostarelo • Sep 19 '15
6 Client Side Javascript features you must have
http://kostasbariotis.com/state-of-client-side-js-frameworks/6
u/ImLivingImDead Sep 19 '15
Two way data binding? No thank you.
I'm working on project with a fair amount of knockout code right now and the spaghetti like logic structure in addition to the constant dom refreshes I have to think about is making it a nightmare.
3
u/_raisin vanilla <3 Sep 20 '15
Exactly, there is a reason Angular 2 got rid of 2 way data binding. Its too expensive and its a mess.
6
Sep 19 '15 edited Sep 19 '15
This article was painful to read, it gets almost everything wrong.
React wants you to write all your stack in one file
What? No it doesn't, it's a library, it doesn't even have an opinion here.
Backbone.js first taught us how to organise our code, using the MVP pattern.
Backbone is/was great but it didn't invent anything here, MV* is as old as the hills.
Your framework should do some sort of Dependency Injection.
DI is of questionable benefit in JS applications.
2 Way Data Binding
Is a bad idea because it makes it impossible to reason about state changes.
The rest of the article is of a similar quality.
2
3
u/kumiorava Sep 19 '15
React is not an MVC framework. It's the View/Controller part, but not a full framework.