The battle of apples and oranges: Angular vs React vs VueJS
People keep asking about which framework to use (Angular, React, or VueJS), and which one is better. I can understand they want to know which one to use for projects, but it's a silly question. It's comparing apples to oranges. I'll explain why you should use one over the other for a specific situation, but it's only my humble opinion. Also before I get into this topic, they all have their uses, there isn't one of them that's better than the other.
As I said earlier, React only deals with the user interface.
If you want things like a router or any way to interact with the server,
you'll need to find modules yourself and integrate it with React.
Many people like this, as it gives you all the freedom to choose whichever module you please. React can be used as a drop-in framework, so you can make parts of the page with React instead of having to make the entire page with a single framework, like Angular. Since React can easily be used as a drop-in framework but also includes a router module, it can be used for small to large applications. The set-up time is minimal, but it does have a fair learning curve. Where Angular uses TypeScript, React uses JSX. It means that all the logic and the templates can be built in a single file.
I'd like to call VueJS "All the right things about AngularJS".
AngularJS will always have a special place in my heart and that's why
I hope that clears up the battle of the apples and oranges a little bit.
The frameworks are completely different and don't even have the same use case. You can use Angular for large applications and has all the most-used modules built-in. React and VueJS are both for the user interface alone and they don't include any of the modules that deal with server interaction. This means the developer is free to choose any modules to fill these gaps. React and VueJS are comparable because they are both only for the user interface, but they still don't serve the same use case. React is for small to large applications because the file organization is simpler than VueJS. VueJS is for small applications only for now, simply because it hasn't had the time to mature just yet. You can use any of these frameworks to make single-page applications, or React and VueJS for some dynamic elements.
If you like to talk about this subject further,
follow me on twitter @rjelsinga or Instagram @roelof1001.
Top comments (0)