mobx
Version:
Simple, scalable state management.
18 lines (17 loc) • 637 B
TypeScript
export declare function configure(options: {
enforceActions?: "never" | "always" | "observed";
computedRequiresReaction?: boolean;
/**
* Warn if you try to create to derivation / reactive context without accessing any observable.
*/
reactionRequiresObservable?: boolean;
/**
* Warn if observables are accessed outside a reactive context
*/
observableRequiresReaction?: boolean;
isolateGlobalState?: boolean;
disableErrorBoundaries?: boolean;
safeDescriptors?: boolean;
reactionScheduler?: (f: () => void) => void;
useProxies?: "always" | "never" | "ifavailable";
}): void;