loading...

React vs. Angular vs. VueJS vs. Native

sublimegeek profile image Jonathan Irvin ・1 min read

Your code is going to face someone eventually and they need to interact with it. What framework do you use and why? Do you use something like Cordova to go multi-platform?

Or, do you just go Native for the platform?

Bonus What operating system or web technology is your brain running on?

Edit: We live in a mobile world, so chances are, your application will run on a phone. Many are using the hybrid approach of using web technologies + native interfacing vs. native code. If you're using web technologies, what framework do you pick? Or, do you just go native?

Discussion

pic
Editor guide
Collapse
twigman08 profile image
Chad Smith

I have been researching more and more about web frameworks and trying them all out lately.

The first one I tried out was Angular. I enjoyed using it with TypeScript though just felt like the framework itself was too large and bloated (not in terms of file size, just in terms of everything it tried to do) and it just never felt "easy" to get started.

I then decided to try out some React. I will admit I didn't spend much time with React so I can't fully give an opinion on it though from what I used I did like. I can see why it is popular. Though I also felt like it was "hard" to get started. I couldn't just prototype. Felt like I always had to use a CLI tool to generate my project and constantly make sure you had a build system setup.

Lately though I have decided to try out Vue. I must say I think I have finally found the one that I enjoyed the most. It was definitely the easiest to get started with and the documentation and official getting started guide on Vue's site itself is top notch. Vue allows you to use the more advanced build tools and of course use ES6 code. Though the thing I love the most about Vue: you can use it just like you would any other Javascript library. Forget about setting up a build system. Forget about transpiling ES6 to ES5. Just include Vue from the CDN like you would even JQuery and just write plane jane original JavaScript.

Also I have to say: I think the new Vue UI tool to generate/manage a new Vue Project is super cool.

Collapse
jasman7799 profile image
Jarod Smith

Depends on time, money, and application requirements. I think most applications would be best done in a react environment simply because most apps don't require native performance, react has the largest community, and the app can be ported to any os mobile or other wise with minimal rewrite. This reduces maintenance, and developer cost making it ideal for startups or big businesses that want to be trendy for minimal cost and time.

Collapse
imben1109 profile image
Ben

Choose one you think is comfortable.
Do not waste too much time on selection.

The key is you know what they can provide. How they build. How they call native api. After you just read them and test with poc project, you can selext one you just think is better. No need to think too much.

For me, I would select react native.

Collapse
niorad profile image
Antonio Radovcic

I'm confused if this is about mobile or web, but I'd say always stick as close to native/vanilla as possible if you can get away with it. If I'd be forced to start developing a x-platform-mobile-app tomorrow I'd use React-Native.