DEV Community

Discussion on: When to Use Vue Over React

Collapse
 
michael_timbs profile image
Michael Timbs

For performance there are a few benchmarks around that show Vue 3 significantly faster. However I’m not a fan of those as mileage varies with use case.

From first principles we know that the VDOM is almost pure overhead and the performance is proportional to the number of nodes that have to be traversed in a diff. We can therefore know that a smaller VDOM will be faster than a larger one. By removing static nodes from the VDOM we shrink it’s size and make it more performance. Mileage will vary based on ratio of static/dynamic nodes.

I agree that most major react options are understood by experienced devs. It does get harder when people have different preferences on how to do things though. I’m a big fan of convention, it’s just preference.

React market is indeed about 10x bigger than Vue. I’m not convinced this makes it much easier to hire though as there’s still a massive shortage of react developers (as with all devs).

I’m also not convinced that those numbers will hold into the future. For me the absolute biggest downside of Vue has been lack of typescript support. With Vue ramping up in adoption and that issue fixed I think Vue will be around parity with React within 5 years.