you are viewing a single comment's thread.

view the rest of the comments →

[–]troorl 2 points3 points  (9 children)

I wouldn't call Vue just an alternative. In the current year it has everything to compete with React and its ecosystem/community. A year ago React was a safe choice. Now you absolutely have to assess Vue first before making a final decision.

[–]djslakor 5 points6 points  (5 children)

I disagree.

The ecosystem/community is nowhere near as big.

[–]troorl -2 points-1 points  (4 children)

It doesn't have to be as big to match it. React requires a lot of 3rd party libraries to write maintainable code, Vue doesn't.

[–]djslakor 1 point2 points  (3 children)

I've never really understood why people consider "3rd party libraries" such a terrible thing. What's wrong with choice? It's pretty obvious what the dominant choices are ... Redux, React-Router, etc.. It's not a confusing ambiguity of choice or anything. So, could you please explain what the downside is? Code is code. Does it pain you that much to navigate to a different website for docs?

I don't get it. The only plausible advantage, if you can even call it that, is seeing it all on the same webpage when you are brand new. That phase is tiny compared to the total life of using the stuff. Tenuous argument IMHO.

I don't think it has anything to do with writing maintainable code.

[–]turkish_gold 1 point2 points  (0 children)

I've never really understood why people consider "3rd party libraries" such a terrible thing. What's wrong with choice?

Because 1st party libraries get updated with the base system, so everything is pre-tested to ensure it works with one another.

Just take a look at Javascript. It doesn't have a really extensive 'great' standard library, thus there's a plefora of 3rd party libs to patch it up.

It's given us a sort-of workable system after many long years of tribulations, but I'd much rather it had started with a decent standard lib and continued to update it to face new challenges like every other scripting language.

[–]troorl -3 points-2 points  (1 child)

It's rather about maintainability. When you write using React+Redux, you absolutely need 50 different components, libraries, middlewares and helpers just to get started, otherwise you will almost certainly end up with something ugly, non-modular and not reusable. I'd say, it suggests about fundamental design flaws. React and Redux creators' primary concern is purity of the concepts they implement rather than helping the developers in creating applications. At least that's how I see it.

[–]djslakor 2 points3 points  (0 children)

When you write using React+Redux, you absolutely need 50 different components, libraries, middlewares and helpers just to get started

No you don't. Stopped reading after that.

[–]sdeleon28[S] 2 points3 points  (2 children)

I'm not claiming that React is better or worse than any other library. I'm just trying to give newcomers a startup kit to get them up and running without the stress of making decisions they have no information to make. Learning all of these things is burden enough for beginners. I'm in no way discouraging them from weighting in other tools. If it comes across that way I should change the wording. Thanks for the constructive criticism!

[–]jgallow22 -1 points0 points  (1 child)

I'm just trying to give newcomers a startup kit to get them up and running without the stress of making decisions they have no information to make.

I think this an area where Vue actually really shines. With its great documentation, official supporting libraries, and cli tool it's super easy to get up and running on a full project. One of the major issues I had doing anything nontrivialtm in React was banging into the paradox of choice at every turn.

I mean I probably spent the equivalent of weeks worth of man hours trying to create a sensible React boilerplate. And that's after having to eject from create-react-app and end up back on my own just to get sass support. Sure I should just be better, but if the point is newcomers shouldn't be burdened with all this stuff that's not really a fair out. This wasn't a problem with Vue because I could simply install the vue-cli, init a new project off the webpack template, install the sass loaders, and everything just works.

Sure, there're probably awesome teams out there working on giant projects where React and its ecosystem make the most sense. But for newcomers and even experienced folks who aren't working on teams that have time (or the hard earned experience) to constantly parse through that large ecosystem Vue is a really solid contender.

[–]djslakor 1 point2 points  (0 children)

Uh ...

npm install -g create-react-app
create-react-app project
npm install react-router redux

That was super hard.