Live data from Hacker News

Our long term plan to make GitLab as fast as possible with Vue and Webpack

about.gitlab.com

31–40 of 304 posts

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#31
post #21

Earlier quoted context omitted.

If you already know react and are happy using it, then there's no reason to use Vue. But if (like me) you were never quite able to figure out how to use React (especially all the build tooling that's suggested in every tutorial), then Vue is worth a look as it's incredibly simple to get started with and easier to learn. I find it especially appeals to people coming from a place of familiarity with html and css (where…

> easier to learn I think this is problematic because people don't differentiate between React and the React ecosystem. Plain old React is just as easy (probably easier) than learning Vue. I always recommend the official React tutorial ( https://facebook.github.io/react/tutorial/tutorial.html ) before even thinking about Redux or Webpack or whatever.

Of course it's subjective, and different people coming from different backgrounds / experience levels find different things easier than others.

But... that tutorial you say you like to show people utilizes jsx, which needs to be compiled with something (right? Or does react do the compilation automatically at runtime now and I missed that memo?).

And for people coming from a place where they are very comfortable and familiar with html and css, and maybe a light sprinkling of jquery on top, Vue is way more approachable than the tutorial you linked to.

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#32
post #19

There's an entire cottage industry of 3 to 5-year old series Bish startups porting Backbone // jQuery apps over to more modern frameworks. We are moving ours over to React at Plangrid (mostly done), Gusto is mostly done with their migration as well. Would be interesting to figure out how many startups are in this category.

We at engageSPARK moved from jQuery mess to Ractive.js, which we're quite happy with. The UI components don't cause us much stress, because they're conceptually simple. What gives us headaches now is the data flow (stores and actions using reflux), so we're now thinking about remodeling this, and while doing so moving to redux. The particular technology is less often the problem, but how it's used, and that's been true for us, too.

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#33

The escalating abuse of the word "awesome" is like the overuse of dynamic compression in music. When every expression is fever-pitched, there's little room for interesting expression. I also notice that the most shameless abuse of "awesome" seems to come from public-facing software developers, e.g. community managers and the like. It's become some kind of advertisement for a bland, safe, comfortable community where n…

This is the reason for https://www.youtube.com/watch?v=9cQgQIMlwWw

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#34
post #19

There's an entire cottage industry of 3 to 5-year old series Bish startups porting Backbone // jQuery apps over to more modern frameworks. We are moving ours over to React at Plangrid (mostly done), Gusto is mostly done with their migration as well. Would be interesting to figure out how many startups are in this category.

This is the sweet spot that my company is going for, been doing React for 2 years now and find it interesting the companies we run into

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#36
post #10

Can someone explain why someone would choose Vue over React (or one of the clones)? When I looked at the docs for Vue it reminded me of my Backbone days.

I'm mostly a backend Rails developer, but I've spent the last 3 months developing stuff with Vue, Elm, React, and Angular 2 in an effort to see which of the front-end frameworks I would like best (I messed with Ember a year ago but haven't had a chance to revisit since). To me it seems like React is about putting logic in code instead of templates/markup. Vue is more in the vein of Angular, where you have logic in yo…

What are your thoughts on Elm compared to the other three?

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#38
I really think for most cases you only need a view library instead of a heavy application framework. There are only a few cases there something as heavy as Angular or Ember is justified and in many scenarios a thinner view layer like Vue, React, Inferno etc is much better suited. Most of the web is simple enough to not need fancy http features or complex routing support. Everyone rushed to Angular without considering if they needed such a heavy library. How Angular even runs on mobile is anyone's guess.

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#39
post #21

Earlier quoted context omitted.

> easier to learn I think this is problematic because people don't differentiate between React and the React ecosystem. Plain old React is just as easy (probably easier) than learning Vue. I always recommend the official React tutorial ( https://facebook.github.io/react/tutorial/tutorial.html ) before even thinking about Redux or Webpack or whatever.

Of course it's subjective, and different people coming from different backgrounds / experience levels find different things easier than others. But... that tutorial you say you like to show people utilizes jsx, which needs to be compiled with something (right? Or does react do the compilation automatically at runtime now and I missed that memo?). And for people coming from a place where they are very comfortable and…

create-react-app is our recommended way to build simple React apps (and some complex ones). It has no configuration and is designed to be very easy to set up.

(My understanding is that Vue templates also need to be compiled -- is that incorrect?)

I wrote the tutorial. Could you give any suggestions on how I could make it easier to get into?

Re: Our long term plan to make GitLab as fast as possible with Vue and Webpack

#40
post #10

Can someone explain why someone would choose Vue over React (or one of the clones)? When I looked at the docs for Vue it reminded me of my Backbone days.

I've tried out both. I like Vue because I can work with standard HTML and augment it with Vue, whereas React requires using JSX. JSX is proprietary and HTML is kind of hidden. There's an additional mental translation when writing JSX.
Post reply on HN