UNPKG

@formily/reactive

Version:

> Web Reactive Library Like Mobx

13 lines 523 B
import * as annotations from './annotations'; import { MakeObModelSymbol } from './environment'; import { createObservable } from './internals'; export function observable(target) { return createObservable(null, null, target); } observable.box = annotations.box; observable.ref = annotations.ref; observable.deep = annotations.observable; observable.shallow = annotations.shallow; observable.computed = annotations.computed; observable[MakeObModelSymbol] = annotations.observable; //# sourceMappingURL=observable.js.map