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.
How we do Vue at GitLab: one year later
91–100 of 208 posts
Re: How we do Vue at GitLab: one year later
#92Earlier 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".
Re: How we do Vue at GitLab: one year later
#93Earlier 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…
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
#94Earlier 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.
Re: How we do Vue at GitLab: one year later
#95Earlier 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…
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
#96Re: How we do Vue at GitLab: one year later
#97Re: How we do Vue at GitLab: one year later
#98Earlier 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.
Re: How we do Vue at GitLab: one year later
#99Earlier 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.