new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Vue · all subjects

performance

5 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Vue 3 advantages over Vue 2

Vue 3 provides smaller bundle sizes, better performance, better scalability, and better TypeScript / IDE support compared to Vue 2.

Vue 3 performance in benchmarks

Vue 3 is one of the most performant mainstream frontend frameworks. In stress-testing scenarios on js-framework-benchmark, Vue outperforms React and Angular by a decent margin and competes closely with the fastest production-level non-Virtual-DOM frameworks.

Vue bundle size with tree-shaking

A hello world Vue app that uses only the absolutely minimal APIs has a baseline size of around 16kb with minification and brotli compression. If an app uses every single feature Vue provides, the total runtime size is around 27kb. When using Vue without a build tool, the size bloats to around 41kb because the template compiler must be shipped to the browser.

Vue tree-shaking support

Many of Vue's APIs are tree-shakable when using a build tool. For example, if you don't use the built-in Transition component, it won't be included in the final production bundle.

petite-vue lightweight alternative

petite-vue is a lightweight alternative to Vue for progressive enhancement without a build step, with a size of only 6kb.

Give your agent this brain