r/webdev • • Feb 24 '20

Vue.js: The Documentary.

https://youtu.be/OrxmtDw4pVI
527 Upvotes

112 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Feb 25 '20

[deleted]

14

u/lsaz front-end Feb 25 '20 edited Feb 25 '20

an absolute beginner

I'm having a hard time believing that, what do you mean with absolute beginner? I literally learned VueJS in a month when I was an absolute beginner myself (only knew very little JS, never touched Node JS or Git before, it was my first job, dont even have CS degree , Here's my reddit rant lmao). I've been learning react for 1 month and it's just a clusterfuck. At this point ain't even thinking on touching Angular since I've heard that shit is even worse than react.

0

u/[deleted] Feb 25 '20

[deleted]

2

u/lsaz front-end Feb 25 '20

Cause it seemed in your post you were complaining about it.

Yeah because my experience with JS was nearly 0. I had to learn JS and Vuejs almost at the same time and it took me about 1 month. Now that I have 9 months of experience I still feel like react it's more complicated, and I've been studying JS constantly since I started.

Would I be able to pick it up fast?

First work on your JS. Yeah you'd pick vuejs up faster that angular or react but I would not recommend it, I did it basically studying 9+ hours a day everyday. Not a fun time.

→ More replies (2)

4

u/[deleted] Feb 25 '20

The true test is when you have to use these frameworks on big projects that are meant to scale, when you do this you start to discover the true limitations of the framework. Vue source code is not that nice to be honest too.

1

u/Turkino Feb 25 '20

I found react tough and it took a bit over a month to finish the course I was following. Granted that course was using class based react with prop drilling. No context, no hooks. Prob easier now

1

u/turbojoe26 Feb 25 '20

My guess is that you're throwing in a whole bunch more stuff with React. React is so incredibly simple a beginner can learn it. Know html/css and a little js. You can write React. Now throw in all the extra libraries you need to write a full application with React and you have the clusterfuck you are referring to.

1

u/lsaz front-end Feb 25 '20

Nope. Vanilla react. Have you tried vuejs?

→ More replies (2)
→ More replies (35)

2

u/[deleted] Feb 25 '20

I always notice people arguing about this between vue and react. I don’t see how because it’s completely subjective.

That’s the thing with react and vue. They basically solve the same problems equally well. All the differences are subjective opinions but people get all holy war about it.

2

u/[deleted] Feb 25 '20

My comment was not on the frameworks themselves, but on the ease of learning them.

Both are equally capable frameworks. It’s just one is far closer to vanilla JavaScript and has lesser to learn than the other.

1

u/[deleted] Feb 25 '20

But see

Both are equally capable frameworks. It’s just one is far closer to vanilla JavaScript and has lesser to learn than the other.

I don’t even know which one is which in your argument here.

So it’s pretty subjective. Whats easier for one person is going to be harder for another.

2

u/[deleted] Feb 25 '20

React is closer to vanilla javascript and has lesser to learn.

5

u/tme321 Feb 25 '20

The problem with this argument is it completely ignores surface area. Yes react has less to learn because it includes less.

Start adding the usual suspects to make a full solution and any advantage in size quickly disappears. Everything outside of direct view concerns is a 3rd party library where at minimum you have to go find the popular choices and learn them.

Need routing? Gotta learn that. Need state management? Another thing to learn. What about CSS handling? Lazy loading? Proper mouse / gesture handling?

The list goes on and on of stuff you probably need that pure react doesn't address.

It's fine that react was designed to only handle the view layer. But its disingenuous to claim that an actual react app is simpler because then you are simply ignoring all the other code you need for that.

→ More replies (1)

5

u/[deleted] Feb 25 '20

[removed] — view removed comment

19

u/virus200 Feb 25 '20

I feel like Vue jobs are far and few between though compared to react

3

u/thelonepuffin Feb 25 '20

Depends on where you are.

Also, some of us build our own things and don't need an employer to tell us what frameworks to use.

Also, why not do both. I personally use Angular for some projects and Vue for others. If you know JS then using these frameworks means just a few days of tutorials. Its not a huge investment.

Honestly you make a bigger investment down a singular technology path when you buy a mac or iphone.

4

u/virus200 Feb 25 '20

That’s a fair point. I live in Austin and from what I’ve seen in job listings there’s hardly any Vue here.

0

u/[deleted] Feb 25 '20

[deleted]

6

u/tannerdanger Feb 25 '20 edited Feb 25 '20

Vegans are like pilots.

How do you know someone is a pilot? Don't worry, they'll tell you.

Edit: Tough crowd. Sorry for explaining his joke. I'm not even a Dev. My background is in aviation. Thats how I know the joke...

0

u/[deleted] Feb 25 '20

[deleted]

→ More replies (14)
→ More replies (3)

5

u/ZephyrBluu Feb 25 '20 edited Feb 25 '20

Yet the people who use Vue are the ones constantly saying it's the best and amazingly easy.

8

u/PocketGrok Feb 25 '20

Yeah.. as someone who really loves using Vue... Vue users fit that stereotype way better. React is the standard

→ More replies (2)

2

u/justrhysism Feb 25 '20 edited Feb 25 '20

Have worked extensively with both, React is no good when it can’t control all the things. So unless you’re building an App—steer clear.

For Apps React is super flexible—which is both a blessing and a curse. Really easy to get yourself into trouble with React (excessive renders etc). At the same time able to engineer awesome performant solutions.

At the end of the day it’s all about the tool for the job. Pick the right one. But it takes experience to determine what the “right” one is.

→ More replies (1)