1 个仓库
Plugins that implement the Composition API and reactive state management patterns for Vue.js versions.
Distinct from Vue-React Reactivity Bridges: Candidates focus on specific bridges to React or server-side injections rather than the general porting of the Composition API to Vue 2.
Explore 1 awesome GitHub repository matching web development · Vue Composition API Plugins. Refine with filters or upvote what's useful.
这是一个响应式插件,将 Vue 3 的 Composition API 和响应式状态管理引入 Vue 2 应用。它作为组件逻辑组织器,以及将响应式状态和函数封装为可重用工具的系统。 该插件支持使用组合式函数 (Composable functions) 在组件间共享有状态逻辑,而无需依赖 Mixins。它提供了一种基于普通变量和函数的结构,以促进自动类型推断和编辑器自动补全。此外,它还包含一个基于 Provider 的依赖注入系统,用于在组件树中共享数据和函数。 该系统涵盖了响应式状态、计算属性和侦听器的管理,以及挂载组件生命周期的能力。它允许将第三方有状态库集成到原生响应式系统中,并支持在服务器端预取数据。 该项目使用 TypeScript 编写。
Brings the Vue 3 Composition API and reactive state management capabilities to Vue 2 applications.