import {Context} from 'cordis'
import {} from 'cordis-plugin-reactive'
export function apply(ctx:Context){
const reactiveValue = ctx.reactive({reactiveProp:1});
const refValue = ctx.ref('Hello,world');
ctx.watch(reactiveValue,(val)=>{
})
ctx.watch(refValue.value,(val)=>{
})
const computedValue = ctx.computed(()=>refValue.value + '!')
ctx.watch
}
cordis-plugin-reactive
0.1.1 • Public • PublishedDependencies (2)
Dev Dependencies (7)
Package Sidebar
Install
npm i cordis-plugin-reactive
Weekly Downloads
0
Version
0.1.1
License
MIT
Unpacked Size
31.2 kB
Total Files
34