Skip to content

Commit 9273ea3

Browse files
committed
update docstring
1 parent 3cd5622 commit 9273ea3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/signals/signals/src/types/settings.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ export interface SignalsPluginSettingsConfig {
7575

7676
/**
7777
* Choose between sessionStorage and indexDB.
78-
* IndexDB is more performant and has no size requirements, but signals will be stored across sessions (cleared on new session, but still technically accessible)
79-
* Session storage is cleared on new session, but has a size limit of 5MB.
80-
* Signals are stored in indexDB by default.
78+
* IndexDB is more performant and has no size requirements, but has the security caveat that signals can be retained across sessions (cleared on new session, but still technically accessible), and only cleared at the beginning of a new session.
79+
* SessionStorage is cleared on tab close.
80+
*
8181
* @default 'indexDB'
8282
*/
8383
signalStorageType?: 'session' | 'indexDB' | undefined

0 commit comments

Comments
 (0)