1.0.0 • Published 2 years ago
branlice-reactivity v1.0.0
Reactive API
- reactive
- Reactive: Define a responsive object and the effect fn will be collected;
- Readonly:Define a read-only mode object based on proxy;
- isReactive:Check for reactive object;
- isReadonly: Check for readonly object;
- shallowReactive
- shallowReadonly
- isShallowReactive
- isShallowReactive
- ref
- ref
- enhance ref: rewrite ref setter and readonly/shallow ref(TODO)
- isRef
- unRef
- proxyRefs
- effect
- effect:for track dependencies and updating them
- scheduler:scheduler
- stop:Stop track on dependencies
- computed
- computed
- computed cache
1.0.0
2 years ago