Live data from Hacker News

Vue.js Creator Evan You Interview

evrone.com

121–129 of 129 posts

Re: Vue.js Creator Evan You Interview

#121
post #12

Vue is awesome. The encapsulation that comes from single file components is something I would love to have in React.

That's my least favourite thing about Vue. One directory per component makes so much more sense to me, not having a mix of syntaxes in a single file. Still, Vue is my favourite tech for SPAs.

Vue does allow you to split css, js and html to separate files by using src attribute in sfc file.

Ref: https://vuejs.org/v2/guide/single-file-components.html#What-...

Re: Vue.js Creator Evan You Interview

#122
post #83

>Another important thing is that I take long breaks (several weeks) whenever I feel I need to — which is probably harder to do if I’m a full time employee at a company. A "Patreon-funded full-time job position" and the ability to take weeks off at a time? What an amazing career path Evan has taken. He sounds so passionate about Vue and he is fully funded to be able to do it. And what a good project to fund, always mo…

It sounds pretty good until you realise that it is the peak of open source full time job. And survivorship bias is taking place here. Evan took a huge leap of faith when he quit his job for working full time on vue. I am happy that it has worked out well for him. But it does not mean this path will work for other open source developers, of course they can still get corporate backing(node.js) or paid to work on it (re…

This is new and exciting but we must understand the use case. For solo developers on projects with a huge amount of github stars this might make sense. It enables you to work on the project full time.

The tailwind project model seems like it would pay better. The profit amount might make for sense for the pretty popular project vs the extremely popular project. It's a compromise because you stop working on the core project and start building these additional businesses that take time/effort away the project.

Corporate backing would make sense but enterprise has picked react. Vue lives because it's a great framework that is easily assessible not because it started as a corporate sponsored project with a popularity boost buildin.

Re: Vue.js Creator Evan You Interview

#123
post #67

Earlier quoted context omitted.

with his level of fame, he would easily make that at one of the top tech firms though.

Yes. He would more than double that by joining at the E5/L5 level at Facebook/Google, which he's almost certainly qualified to do. But given the success of Vue.js and his status in the JS community, he'd probably be a marquee hire at the E6/L6 level. However he would be sacrificing a lot of autonomy to do so, because Vue.js would effectively be developed under the same corporate stewardship model as React and Angular…

He would probably double that by selling t-shirts.

Re: Vue.js Creator Evan You Interview

#124

Earlier quoted context omitted.

I really love single file components. We are extending the syntax more by also adding and tags to single file components. Great for automatically generating documentation and keeping it in the same place as the components. Was a bit afraid that the compiler would protest, but so far so good.

Where do you put the elements? Next to the or inside it?

Next to it, so that it doesn't interfere with either , or .

Re: Vue.js Creator Evan You Interview

#125
post #74

Earlier quoted context omitted.

This is the appeal of Phoenix LiveView for me. Server rendering was already incredibly fast with Phoenix, but the ability to forgo the majority of JS with LiveView bypasses all of these framework complications.

Woah I had no idea that existed. Here's a great introduction to LiveView: https://www.youtube.com/watch?v=U_Pe8Ru06fM

This one's also pretty good: https://www.youtube.com/watch?v=MZvmYaFkNJI&t=1s (Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5)

Re: Vue.js Creator Evan You Interview

#126
post #96

Earlier quoted context omitted.

I disagree with you and I will explain my reasons why: BLM is not about politics or personal opinions, it is about human rights, so is the LGBT flag stuff, so is speaking out against the chinese governement for the Uyghurs genocide currently being carried out. You know what has happened to Georges Floyd, Breonna Taylor and many others. People murdered routinely by the police without any consequences. Using whatever p…

Thank you very much for explaining. I also am pro human rights. Very much so. And yet I think that BLM does it all wrong, and all that will come out of their protests are more police, more government, more bigotry against the blacks, and more slums. I suspect that there are a lot of people like myself.

BLM is showing us uncomfortable reality, which is how poor black people are treated in the US. For anyone slightly better off, all this pain, anger and the violence which stems from it is difficult to process and can lead us to cognitive dissonance to avoid these feelings. "they're doing it wrong! BLM is violent thugs and terrorists, if they wanted results they would be 100% peaceful. They're working against these causes!" is that cognitive dissonance.

Turns out, human rights activists have been peaceful. For decades. It did nothing. Even filmed in broad daylight, with people begging him to stop and with the whole world watching it on the internet, a police officer can still murder a black man and get away with it. Which they would have without the protests. Now, each time that happens, there will be a wave of righteous anger through the country. Until that doesn't happens anymore I hope.

MLK's protests weren't peaceful. There was the same stuff happening, looting, violents elements, confrontations with white nationalists, and they've changed things, tremendously for the better. I hope the same happens with BLM.

Re: Vue.js Creator Evan You Interview

#127
post #50

Earlier quoted context omitted.

As far as I understand the Composition API is purely opt-in and aimed at cases where you want to trade simplicity for power/control. The Options API is still the default and remained pretty much the same.

The composition API is opt-in, but will likely be the de facto standard if/when the majority of projects and tutorials use it.

Agreed. That's generally how these things are introduced. It's a shame, because Vue as it currently stands, offers impressively simple answers, to many complicated UI development questions.

Re: Vue.js Creator Evan You Interview

#128
post #29

Earlier quoted context omitted.

Can confirm. Vue was the first framework I learned and I remember it being super intuitive. The only thing I couldn't understand at first was Vuex because I couldn't work out what the point of it was. This was probably because I hadn't ever seen an app big enough to benefit from it. I know there was a big meme about how js frameworks come and go every 2 years but it feels to me like react and vue are almost the end g…

Vuex is my only main challenge as well when it comes to Vue. Overall it's a fantastic js framework

I've implemented Vuex on a Vue 2 project to reduce adding props all the way down in my sub-components. Looking back, I would only add Vuex to a project if it needed it. Hint: small projects do not need it. Just rely on "Events up, props down" for your data flow.

Re: Vue.js Creator Evan You Interview

#129

Earlier quoted context omitted.

So that’s his Patreon earnings. Looks like he’s also making money from OpenCollective, and if I’m adding it all up correctly it’s about what an E6/L6 at Facebook/Google would make?

https://www.levels.fyi/ is a good site to check ranges at a variety of companies (not affiliated, just a fan). E6 at G/FB can range between $450-$600k.

Yes, I know :). Did you try add all the numbers up on opencollective?
Post reply on HN