Live data from Hacker News

How we do Vue at GitLab: one year later

about.gitlab.com

91–100 of 208 posts

Re: How we do Vue at GitLab: one year later

#91
post #81

Earlier quoted context omitted.

I implore you to checkout create-react-app to get a hello world really quick: https://github.com/facebookincubator/create-react-app npm install -g create-react-app create-react-app my-app cd my-app/ npm start Your sentiment is correct that tooling around these pieces of technology needs to always be first class. React failed miserably, and Vue did an AMAZING job. I'm probably starting to sound like a shill for React.…

React is the new JQuery, I really don't see Vue and Angular being in the same world as React.

As far as the actual libraries themselves go, if any of Vue/Angular/React are the new jQuery, it's Vue. It's the smallest of the three, but more importantly it's the easiest of the three to drop into a page without any tooling.

Re: How we do Vue at GitLab: one year later

#92
post #80

Earlier quoted context omitted.

20 minutes vs an afternoon is probably not a great gauge for making technology choices. I highly recommend watching Rich Hickey's "Simple Made Easy" [1] talk which covers how the right ("simple") choice may not be the "easiest" (convenient, most familiar) one. [1] https://www.infoq.com/presentations/Simple-Made-Easy

I agree. Hence "that and".

I don't mean to be an arse, but if you agree with my point, then maybe you can see why I disagree that your "that and" is a valid strike against React/in favour of Vue.

Re: How we do Vue at GitLab: one year later

#93
post #84

Earlier quoted context omitted.

Interesting critique. I would highly suggest checking out template literals: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... Yeah styled.div is a function as you can check out in the mdn docs I linked, it's really cool stuff. Inheritance is done like: const List = styled.ul` li { padding: 10px; } ` const HeavyPaddedList = styled(List)` li { padding: 20px; } ` If you wanted to just change the li you'd…

> You're writing scss within the text blocks. So, yeah, you lose all the syntax highlighting etc. that comes with just writing normal CSS. I don't think it's unreasonable for a designer to object to that - how would you feel if you were presented with a build system that required you to write all your JavaScript inside one big string statement? Maybe it's just me, but I don't find it intuitive at all. `styled` has pr…

> So, yeah, you lose all the syntax highlighting etc. that comes with just writing normal CSS

Except you don't. Editor support is quite good, and syntax highlighting, syntax validation, auto-completion, etc all work.

I mean, same way with Vue really. If the editor didn't know wtf a Vue file is, you'd lose all the integration too.

Re: How we do Vue at GitLab: one year later

#94
post #12

Earlier quoted context omitted.

Funny thing is, Vue wihtout extras is more complex than React without extras.

Nope. Nope. Nope. Trainer here. I train in React and in Vue. My students do 3 times the work with raw vue than in raw react. Every one of them. All the time. It's not even on the same map.

I'd clarify your statement of "3 times the work" as a positive. I had to read twice to not think that Vue took 3x the effort to do something.

Re: How we do Vue at GitLab: one year later

#95

Earlier quoted context omitted.

I'm a Redux maintainer, and I spend most of my free time answering questions about React and Redux. Yes, since probably early 2016, many tutorials have basically said "you need to learn React and Redux together", and that's the message that a lot of junior devs have been taught. However, my own advice is the same as Dan Abramov's: you should focus on learning React first. Once you understand React thoroughly, then yo…

However, my own advice is the same as Dan Abramov's: you should focus on learning React first. Once you understand React thoroughly, then you'll better understand why a state management lib like Redux _may_ be helpful for your situation. That's not really a fair position to take. It basically allows you to believe that React and Redux don't need to be learned together. Put yourself in the shoes of a CTO at a new star…

> Put yourself in the shoes of a CTO at a new startup

My first step is to hire someone that knows how to build a FE app. We'll use the tool that someone is familiar with.

If you're a CTO of an incubator startup with 2 people straight out of college who learnt Python and basic JavaScript and you're trying to build a serious web app from there, well, it doesn't really matter what you pick, you'll have to rewrite it in a few months anyway (that's a pretty common scenario).

Re: How we do Vue at GitLab: one year later

#96

Earlier quoted context omitted.

God this is horrible. It's ugly. Hard to read. Things are scattered all over the code. And where is my sass ?

It doesn't support sass, but it does support scss.

To all intents and purposes, when people say Sass, they mean Scss.

Re: How we do Vue at GitLab: one year later

#97
post #81

Earlier quoted context omitted.

React is the new JQuery, I really don't see Vue and Angular being in the same world as React.

So, pretty soon we should see youdonotneedreact.com websites popping up?

Well... there is a good chance that you don't.

Re: How we do Vue at GitLab: one year later

#98

Earlier quoted context omitted.

Rookie Vue dev here. I found Vue super easy to understand and to start using for my own simple stuff basically from day 1. Gradually as my tiny projects grew in complexity, I naturally started to feel the need to manage state better. And again, Vue docs led me gradually thru pure-Vue solutions towards VueX. It all felt very naturally, the documentation didn’t push me to anything, just gave me answers at my pace. Can’…

How are you learning Vue? Looking to expand my toolkit.

Initially, https://www.udemy.com/vuejs-2-the-complete-guide/ course helped me to get going. After that, I just read the official documentation and examples on Github.

Re: How we do Vue at GitLab: one year later

#99
post #43

Earlier quoted context omitted.

However, my own advice is the same as Dan Abramov's: you should focus on learning React first. Once you understand React thoroughly, then you'll better understand why a state management lib like Redux _may_ be helpful for your situation. That's not really a fair position to take. It basically allows you to believe that React and Redux don't need to be learned together. Put yourself in the shoes of a CTO at a new star…

> Put yourself in the shoes of a CTO at a new startup Okay, how big is our web application? A few pages with a form? We'll avoid Redux for now. We might even avoid React. It's like anything else: should you set up a Spark cluster if you're only processing Gb's of data? Probably not, but you might need it some day -- so make your best guess.

A few pages with a form? Avoid code alltogether. Build it with a wysiwyg tool in 2 hours and get that stuff to users pronto.

Re: How we do Vue at GitLab: one year later

#100
post #81

Earlier quoted context omitted.

React is the new JQuery, I really don't see Vue and Angular being in the same world as React.

So, pretty soon we should see youdonotneedreact.com websites popping up?

Once web components become standardized.

So...2030.

Post reply on HN