news.volyx.in

Vue.js 3 (github.com)

768 points by simulo · 2202 days ago · 305 comments on HN

Article summary

Vue.js 3 has been officially released, featuring improved performance, smaller bundle sizes, and better TypeScript integration. The new version includes a rewritten internal architecture, a new Composition API, and experimental features such as syntactic sugar for using the Composition API and state-driven CSS variables. The release marks the general readiness of the framework, but some sub-projects may still need further work to reach stable status. A migration guide is available to help users transition from Vue 2 to Vue 3.

Main themes

  • Vue.js 3 release
  • Migration from Vue 2
  • Composition API
  • Performance improvements
  • Reactive variables and debugging
  • Migration challenges and strategies

What commenters say

  • The migration from Vue 2 to Vue 3 can be challenging, especially for library maintainers, but the performance improvements make it worth the effort. Some users have found the transition to be relatively easy, while others have encountered significant difficulties. The Composition API is a major change in Vue 3, and some users are still trying to understand its implications for app development and debugging. The performance improvements in Vue 3 are significant, but the way they are presented can be misleading, with some users pointing out errors in the mathematical representation of the improvements. Some users appreciate the new features and improvements in Vue 3, while others are more skeptical about the need for change and the potential impact on their existing projects. The use of reactive variables and references in the Composition API can make it harder to reason about and debug the app, but others argue that it can also simplify the code and reduce complexity. The migration build and IE11 support are still pending, which may affect users who need to migrate existing apps or support older browsers.
  • themes": [