4 ms·
> Vue is more flexible primarily via its single-file components In what way is that a demonstration of flexibility? > ability to easily leverage existing HTML
by debaserab2 9y ago
> Vue is more flexible primarily via its single-file components
In what way is that a demonstration of flexibility?
> ability to easily leverage existing HTML/Pug/CSS/SCSS/etc, making it an easier target to migrate to.
How is it any easier than React? Seems the exact same to me.
- chmln 9y ago> In what way is that a demonstration of flexibility? By accommodating developers with various preferences. You can have typechecked classes with TSX like React, or self-contained components leveraging traditional HTML/CSS, which is how Angular components are structured. > How is it any easier than React? Seems the exact same to me. There are many similarities between Vue and Angular, especially regarding the DSL in templates. Whereas going from Angular to React is a significant rewrite.