Live data from Hacker News

Vue.js Creator Evan You Interview

evrone.com

31–40 of 129 posts

Re: Vue.js Creator Evan You Interview

#31
Whenever people mention how awesome Vue is, there is always a comment that nothing beats vanilla JS.

I recently I learned that it not always true. As a matter of fact Vue (and many frameworks) does a lot of optimization under the hood to keep your apps breezy.

For example when you're dealing with lots of data, One of such concepts is re-using input fields and DOM elements via keying. So if you are trying to render lots of input fields, Vue can intelligently reuse(1) the components so as to make minimal changes to the DOM (implementing this vanilla JS is possible but might require lots of efffort).

(1) https://vuejs.org/v2/guide/components.html#Reusing-Component...

Re: Vue.js Creator Evan You Interview

#32

So I recently had the opportunity to use the new composition API, which will come in V3, in a project and want to share my two cents. The project had some limitations tho: no webpack and no typescript (so basically inline x-templates and pure browser JS). Starting of with the composition API was great. No "this", easy reuse of logic via react-like "useXYZ" hooks and a general fast development. But two things really b…

Yes I fully understand this. Also with vue2 you often get problems with the internal version of "array" that is wrapper around a normal array to detect changes.

Re: Vue.js Creator Evan You Interview

#33
post #24
post #18

Earlier quoted context omitted.

The Docs take Vue to a league of its own. I'd contend that no other JS ecosystem has docs that are as lucid, concise and beginner friendly as Vue's. This intro to VueX (Vue's state management library) is a good example: https://vuex.vuejs.org/

Are you guys all using ad blockers? I open Vue docs — and the right-hand column of the screen is a wall of ads. For comparison, I open React docs — and there are only docs there (unless you count the obligatory BLM header). With a larger font, too, because there, docs don't need to compete for page space with the ads.

There is a small, simple ad in the top left, above the menu, but that's it. If all ads were like that and I had no privacy concerns, I would not even need an ad blocker.

Re: Vue.js Creator Evan You Interview

#34
post #6

Earlier quoted context omitted.

Seconded. Using Vue makes me happy like no other tech has quite done.

And happy Ruby on Rails veteran here with Vue at the front-end!

Does it incorporate well with rails?? Again I think that stimulus.js can also give a feel of an SPA like when Vue is used

Re: Vue.js Creator Evan You Interview

#35
post #24
post #18

Earlier quoted context omitted.

The Docs take Vue to a league of its own. I'd contend that no other JS ecosystem has docs that are as lucid, concise and beginner friendly as Vue's. This intro to VueX (Vue's state management library) is a good example: https://vuex.vuejs.org/

Are you guys all using ad blockers? I open Vue docs — and the right-hand column of the screen is a wall of ads. For comparison, I open React docs — and there are only docs there (unless you count the obligatory BLM header). With a larger font, too, because there, docs don't need to compete for page space with the ads.

You might want to check your browser/machine for something hijacking and inserting ads. The only ad I see is in the top-left and it is very non-intrusive and doesn't distract from the content at all.

Re: Vue.js Creator Evan You Interview

#36

>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 lucrative and leisurely, sure, but it's not a career path I'd personally be interested in, because (caveat: I don't know the guy, I'm not involved in Vue, etc; generalizations ahead) he's very much a community manager, possibly moreso than a developer. He's got huge responsibilities and accountability, whereas I prefer to be (proverbially) holed up in a basement with my work laid out for me.

I mean I basically have online social anxiety in that I don't tend to go read my old comments and possible responses to it. I rant without standing for and defending what I say. If you run a project like Vue, you can't avoid things like that.

Re: Vue.js Creator Evan You Interview

#37
I was turned off of Vue when they put a big "Join BLM" banner on the top of their site.

In my vue, that is mixing politics and personal opinions into a public coding project. I believe this to be a non-no. It implies that those that don't share your [unrelated] views are not legitimate.

In this example, it implies that those who are pro-minority rights but anti-protests are in some way less committed than their pro-rights and pro-protest counterparts. Which is not correct - there are many, many people like myself who have dedicated their lives to helping minorities, but think it can better be done if we don't turn them into victims.

You can disagree, but don't make it part of the code.

I encourage all large public projects to please respect the opinions and efforts of all their users and possible contributors, even if their users are not woke, or try to do good in ways other than you would.

The banner is gone, so am hoping that other commenters will respond to this as an example, not as a specific. (In other, don't defend BLM, there are other venues for that.) Please, please keep politics for the media to exagerate, and keep large projects politics free.

edit - sigh For all those erstwhile readers that are righteously downvoting me into oblivion - that's fine. I respect your right to consider my verse worthy of ire. But a comment to explain why you disagree would be so much better! Angry destruction without reason is already plentiful, but it is neither constructive nor persuasive. It reinforces the feeling that you will happily cancel anyone with another point of view just because you don't care to hear it.

Re: Vue.js Creator Evan You Interview

#38

So I recently had the opportunity to use the new composition API, which will come in V3, in a project and want to share my two cents. The project had some limitations tho: no webpack and no typescript (so basically inline x-templates and pure browser JS). Starting of with the composition API was great. No "this", easy reuse of logic via react-like "useXYZ" hooks and a general fast development. But two things really b…

I used to prefer (and by a lot) Vue more than React because of its simplicity and completeness (router + store + everything you need).

After trying to use v3 for a new project and trying out the composition API, I've gone back to React.

With v3, and the composition API, to me, it lost all of its appeal (being simple, easy and complete). Now to me it has the worst of both worlds... it's not as easy anymore, has a lot of gotchas and conceptual overhead.

Re: Vue.js Creator Evan You Interview

#40

So I recently had the opportunity to use the new composition API, which will come in V3, in a project and want to share my two cents. The project had some limitations tho: no webpack and no typescript (so basically inline x-templates and pure browser JS). Starting of with the composition API was great. No "this", easy reuse of logic via react-like "useXYZ" hooks and a general fast development. But two things really b…

Yes I fully understand this. Also with vue2 you often get problems with the internal version of "array" that is wrapper around a normal array to detect changes.

How so?
Post reply on HN