You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -222,7 +222,7 @@ Sets the initial values for the Onyx store
222
222
| --- | --- |
223
223
| keys |`ONYXKEYS` constants object from Onyx.init() |
224
224
| initialKeyStates | initial data to set when `init()` and `clear()` are called |
225
-
|safeEvictionKeys| This is an array of keys (individual or collection patterns) that when provided to Onyx are flagged as "safe" for removal. |
225
+
|evictableKeys| This is an array of keys (individual or collection patterns) that are eligible for automatic removal when storage limits are reached. |
thrownewError(`canEvict can't be used on key '${key}'. This key must explicitly be flagged as safe for removal by adding it to Onyx.init({safeEvictionKeys: []}).`);
213
+
thrownewError(`canEvict can't be used on key '${key}'. This key must explicitly be flagged as safe for removal by adding it to Onyx.init({evictableKeys: []}).`);
thrownewError(`canEvict can't be used on key '${key}'. This key must explicitly be flagged as safe for removal by adding it to Onyx.init({safeEvictionKeys: []}).`);
293
+
thrownewError(`canEvict can't be used on key '${key}'. This key must explicitly be flagged as safe for removal by adding it to Onyx.init({evictableKeys: []}).`);
0 commit comments