Why I Chose React Over Vue
Have you noticed my overly diplomatic title? It’s an attempt to frame this conversation in terms of what I prefer rather than what I believe to be objectively better in hope of diverting a flame war. I imagine it will not work.
A Vue component is more like a template that can reference data from a data structure. It contains a DSL (Domain specific language) that, while minor, is completely unnecessary. I don’t need v-for because I have map(). I don’t need v-if because I have boring old regular if. Templates introduce at least some level of cognitive load for limited or no benefit.
The Deal Breaker: Mutable State
If you liked this article please remember to click the💚 symbol below to make sure more people get to read it!
Steven Poulton is a web developer and technical architect living in Manchester, England. In his spare time he likes to make indie music, make indie games and play with his indie cats.