View profile

Mastering JavaScript Tutorials - Why Vue > React

Recently I've had a lot of people asking me about Vue vs React, ranging from a small startup looking
Mastering JavaScript Tutorials - Why Vue > React
Recently I’ve had a lot of people asking me about Vue vs React, ranging from a small startup looking to ditch Angular 1 to one of the top 5 banks in the US. Here on Mastering JS, we’re going all in on Vue, and we’re betting it will become the leading frontend framework within the next few years.
Why? Here’s a couple reasons.

Vue is an Independent Project
Let’s face it, Facebook has a long track record of abusive behavior. Open source projects aren’t immune to Facebook’s machinations - they already attempted to relicense React for political gain once. What’s to stop Facebook from relicensing React again or including tracking software in React? I doubt Facebook is done looking for questionable ways to leverage React’s adoption, because the impact on Facebook is minimal if React adoption drops by 50%.
Vue, on the other hand, is an independent project. At this point, if there were a mass exodus from Vue, the Vue core team’s livelihood would be threatened. That makes a licensing scandal, a massive backwards breaking change, or user tracking unlikely.

No Need for Transpilers
Imagine trying to build a React app without JSX, Webpack, and Babel. It is possible using htm. But, with htm, you lose syntax highlighting because your HTML is all stored in JavaScript strings.
With Vue, you can use JSX, Webpack, and Babel, or you can build your templates using vanilla HTML. Now that modern browsers support ES6 imports, you can build a modern web application that targets evergreen browsers with no compiler whatsoever.

This Week's Tutorials
Did you enjoy this issue?
Mastering JavaScript Tutorials

Mastering JavaScript Tutorials

If you don't want these updates anymore, please unsubscribe here
If you were forwarded this newsletter and you like it, you can subscribe here
Powered by Revue