effector-vue/composition
import {} from "effector-vue/composition";Provides additional API for effector-vue that allows to use Composition API
APIs
- useUnit(shape, options?)
- useStore($store, options?)
useStoreMap({ store, keys, fn })- useVModel($store, options?)
- useProvidedScope(options?)
- createGate(config?)
- useGate(Gate, props?, options?)
- EffectorScopePlugin
- EffectorScopeKey
since
EffectorScopePlugin is exported from effector-vue/composition since effector-vue 23.2.0.
useProvidedScope and EffectorScopeKey introduced in effector-vue 23.3.0.
Types
ScopeOptions:{ scope?, forceScope? }, the options of useUnit, useStore and useGateUseVModelOptions: the options of useVModelUseStoreMapConfig: the config of useStoreMapEffectorScopePluginOptions: the options of EffectorScopePluginUseUnitResult<Shape>andUnitToValue<Unit>: the result ofuseUnitfor a shape and for one unitEqual<X, Y>:truewhen two types are the sameUseVModel: the type ofuseVModel
since
All types except UseVModel are exported since effector-vue 23.3.0.