We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb05550 commit 7c7df5fCopy full SHA for 7c7df5f
src/index.ts
@@ -94,3 +94,20 @@ export function BehaviorWithComputed<
94
options.behaviors.unshift(behavior);
95
return Behavior(options);
96
}
97
+
98
+// data tracer mode
99
+export enum DataTracerMode {
100
+ Auto,
101
+ Proxy,
102
+ DefineProperty,
103
+}
104
105
+let currentDataTracerMode = DataTracerMode.Auto;
106
107
+export const getCurrentDataTracerMode = () => {
108
+ return currentDataTracerMode;
109
+};
110
111
+export const setCurrentDataTracerMode = (mode: DataTracerMode) => {
112
+ currentDataTracerMode = mode;
113
0 commit comments