@kanaries/graphic-walker 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -85,7 +85,13 @@ export declare class VizSpecStore {
|
|
|
85
85
|
canRedo: boolean;
|
|
86
86
|
editingFilterIdx: number | null;
|
|
87
87
|
constructor(commonStore: CommonStore);
|
|
88
|
+
private __dangerous_is_inside_useMutable__;
|
|
88
89
|
/**
|
|
90
|
+
* @important NEVER recursively call `useMutable()`
|
|
91
|
+
* because the state will be overwritten by the root `useMutable()` call,
|
|
92
|
+
* update caused by recursive `useMutable()` call will be reverted or lead to unexpected behaviors.
|
|
93
|
+
* Inline your invoking or just use block with IF statement to avoid this in your cases.
|
|
94
|
+
*
|
|
89
95
|
* Allow to change any deep member of `encodings` or `config`
|
|
90
96
|
* in the active tab `this.visList[this.visIndex]`.
|
|
91
97
|
*
|