Skip to content

yangxy6/vue3-analysis

 
 

Repository files navigation

vue-next CircleCI

Status: Pre-Alpha.

We have achieved most of the architectural goals and new features planned for v3:

  • Compiler

    • Modular architecture
    • "Block tree" optimization
    • More aggressive static tree hoisting
    • Source map support
    • Built-in identifier prefixing (aka "stripWith")
    • Built-in pretty-printing
    • Lean ~10kb brotli-compressed browser build after dropping source map and identifier prefixing
  • Runtime

    • Significantly faster
    • Simultaneous Composition API + Options API support, with typings
    • Proxy-based change detection
    • Fragments
    • Portals
    • Suspense w/ async setup()

However, there are still some 2.x parity features not completed yet:

  • Server-side rendering
  • <keep-alive>
  • <transition>
  • Compiler DOM-specific transforms
    • v-on DOM modifiers
    • v-model
    • v-text
    • v-pre
    • v-once
    • v-html
    • v-show

The current implementation also requires native ES2015+ in the runtime environment and does not support IE11 (yet).

Contribution

See Contributing Guide.

About

Vue3源码解析学习记录

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.1%
  • JavaScript 1.7%
  • Other 0.2%