3 ms·
Agreed, I feel like I'm missing something here. I had thought that react "won" over angular because people generally preferred one-way data flow vs. angular's t
by losvedir 10y ago
Agreed, I feel like I'm missing something here. I had thought that react "won" over angular because people generally preferred one-way data flow vs. angular's two-way data bindings.
At least for me, that's one of the biggest reasons why I feel like I understand react better than angular. It's a little verbose at times, but it does make it pretty easy to follow.
And it looks like Vue.js is a two-way data binding framework? I won't write it off without trying it, but that's a point against it for me.
- YCode 10y agoIn React the idea that the state controls the app and as long as you maintain control of your state your app becomes nearly deterministic is powerful. In this way Vue or more specifically two-way data binding struck me as a step back. Or am I misrepresenting Vue?
- applecrazy 10y agoActually, Vue has one way binding by default when dealing with Components, in that way, it's very similar to React: http://vuejs.org/guide/components.html#One-Way-Data-Flow http://vuejs.org/guide/components.html#One-Way-Data-Flow