@base-framework/base 3.7.36 → 3.7.38
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.
|
@@ -62,11 +62,12 @@ export class Component extends Unit {
|
|
|
62
62
|
stateHelper: any;
|
|
63
63
|
/**
|
|
64
64
|
* This will resume the data by preferring the fresh data
|
|
65
|
-
* instance from setData().
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
65
|
+
* instance from setData(). Persisted stage values fill in
|
|
66
|
+
* any gaps the fresh data does not cover, but fresh values
|
|
67
|
+
* always win on conflicts. This preserves closure references
|
|
68
|
+
* (e.g. from atoms with { data: localVar }) while keeping
|
|
69
|
+
* accumulated persisted state for properties the fresh data
|
|
70
|
+
* does not re-initialize.
|
|
70
71
|
*
|
|
71
72
|
* @protected
|
|
72
73
|
* @param {object|null} persistedData
|