Live data from Hacker News

Vue.js 3

github.com

301–308 of 308 posts

Re: Vue.js 3

#301
post #11
post #6

> Vue 3 has demonstrated significant performance improvements over Vue 2 in terms of bundle size (up to 41% lighter with tree-shaking), initial render (up to 55% faster), updates (up to 133% faster), and memory usage (up to 120% less). What does 120% less memory usage mean, really?

It's definitely not how to show that, but if you follow their link ( https://docs.google.com/spreadsheets/d/1VJFx-kQ4KjJmnpDXIEai... ), you'll see the numbers. The math is like, if it did use 100mb, and now it uses 25mb, that's 300% less, because 25mb is the "100%", and you reduced by that amount 3 times. Odd.

The only people I've seen use such nonsense were marketing departments. Do they think people can't do basic fractions any more?

Re: Vue.js 3

#302
post #11

Earlier quoted context omitted.

It's definitely not how to show that, but if you follow their link ( https://docs.google.com/spreadsheets/d/1VJFx-kQ4KjJmnpDXIEai... ), you'll see the numbers. The math is like, if it did use 100mb, and now it uses 25mb, that's 300% less, because 25mb is the "100%", and you reduced by that amount 3 times. Odd.

Is this the lingo that statisticians/mathematicians use? I’d just say 75% drop for 100mb to 25mb.

you would say "use 1/4th as much memory" if you were a normal person.

Re: Vue.js 3

#303
post #203

Why is IE11 support still important now? I can't find exact stats on it, but it seems <2%. Surely projects which still want to support IE11 could still stick for a while with Vue2.

I was surprised that became a feature of Vue 3, as well. I was hoping they would drop it, assuming you could just use Babel + Polyfills to get it to work if you really needed it.

Because vue3 depends on proxies which can't be polyfilled.

They need to add the vue2 logic for reactivity. And use polyfill for any other advance features

Re: Vue.js 3

#304

Earlier quoted context omitted.

I used to work for a big financial analytics company that used Angular 1.5 for everything . Around the time I left, they started migrating to VueJS instead. Obviously this is all anecdotal, and I have no doubt AngularJS is still being used in a lot of places, but I think there's reason to believe its share might be shrinking.

AngularJS is obviously shrinking. It's the 1.x version, and no one should be starting new projects with it. I don't think anyone is referring to AngularJS. When people say Angular, they'd be referring to v2.0+.

I was referring to all versions of the library. If companies are switching away from Angular, Angular's share will be shrinking.

Re: Vue.js 3

#305

Earlier quoted context omitted.

Not the end of the world, but the client will have to download it.

So what. Gzip is a thing. Most apps I build with react don‘t reach the 1MB mark even if they‘re gigantic.

It's well known there's a sharp drop off of visitors for every extra hundred milliseconds a site takes to respond.

Re: Vue.js 3

#306
post #273
post #205

Earlier quoted context omitted.

What do you mean 'fp'? Ember was quite literally one of the worst experiences ever. Not having javascript expressions in handlebars is literally excrutiating. I'm so glad I never have to use ember, ever, ever again.

Functional programming. Maybe you should have given helper functions a look: https://guides.emberjs.com/release/components/helper-functio...

Download the league client if you want to be scared straight about ember. Resource usage gradually ramps up until by the 5th game the client is using more RAM than the game itself.

Re: Vue.js 3

#307

Why is IE11 support still important now? I can't find exact stats on it, but it seems <2%. Surely projects which still want to support IE11 could still stick for a while with Vue2.

IE11 is still heavily used in some industries, such as healthcare. Browser statistics services usually don't pick up on a lot of IE11 use because it's on internal networks. I wish I could ignore IE11, but the reality is that I can't.

The point is that Vue 2 can continue to be used though. There's no need to upgrade.
Post reply on HN