feat: toRefs
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { currentInstance } from './component'
|
||||
import { immutable } from './apiState'
|
||||
import { immutable } from './apiReactivity'
|
||||
import { isObject } from '@vue/shared'
|
||||
|
||||
export interface InjectionKey<T> extends Symbol {}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
export {
|
||||
ref,
|
||||
isRef,
|
||||
toRefs,
|
||||
reactive,
|
||||
isReactive,
|
||||
immutable,
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
} from '@vue/reactivity'
|
||||
import { queueJob, queuePostFlushCb } from './scheduler'
|
||||
import { EMPTY_OBJ, isObject, isArray, isFunction } from '@vue/shared'
|
||||
import { recordEffect } from './apiState'
|
||||
import { recordEffect } from './apiReactivity'
|
||||
|
||||
export interface WatchOptions {
|
||||
lazy?: boolean
|
||||
|
||||
@@ -19,7 +19,7 @@ export { createRenderer, RendererOptions } from './createRenderer'
|
||||
export { Slot, Slots } from './componentSlots'
|
||||
export { PropType, ComponentPropsOptions } from './componentProps'
|
||||
|
||||
export * from './apiState'
|
||||
export * from './apiReactivity'
|
||||
export * from './apiWatch'
|
||||
export * from './apiLifecycle'
|
||||
export * from './apiInject'
|
||||
|
||||
Reference in New Issue
Block a user