3 ms·
> 99.99999% of times it goes great. I'll disagree with you on that. I've seen and used enough 2-way binding in various projects to know that even the best of d
by satvikpendem 3y ago
> 99.99999% of times it goes great.
I'll disagree with you on that. I've seen and used enough 2-way binding in various projects to know that even the best of devs can create tangles of effects everywhere. At some point, you gotta blame the tool for having footguns, which is why Rust was created over C and C++, to solve such footguns. In the same vein, something like that should be made for frontend frameworks too.
- ttfkam 3y agoBut have you used 2-way binding with a more modern framework? Or are you still hanging on to your experience with a defunct framework like Knockout from over a decade ago? And don't get me started on React's "put all the logic you want in our templating language that doesn't even target HTML5" elephant-footgun. Oh! Sorry! Forgot that React's footguns are aKeats elegant and reasonable while everything else's footguns are dealbreakers.
- RussianCow 3y ago> And don't get me started on React's "put all the logic you want in our templating language that doesn't even target HTML5" elephant-footgun. Sorry, but how is JSX a footgun? I have a lot of issues with React, but JSX doesn't even come close to making the list.
- ttfkam 3y agoYou obviously keep the amount of JS logic to a minimum in your templates. I have encountered many React codebases that did not do this.