Skip to content

Commit a69d82b

Browse files
committed
Update README setItem chart
1 parent 9e80f44 commit a69d82b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,16 @@ export const queryClient = new QueryClient({
112112

113113
```mermaid
114114
flowchart TD
115-
Application([Client app]) --> |".setItem()"| IDBCache[[IDBCache]]
116-
IDBCache -.-> |"Unencrypted chunks"| WebWorker{{Web Worker}}
117-
WebWorker -.-> |"Encrypted chunks"| IDBCache
118-
IDBCache -.-> |"Encrypted chunks"| IndexedDB[(IndexedDB)]
115+
subgraph Browser["Browser"]
116+
IDBCache[["IDBCache"]]
117+
Application(["Client app"])
118+
WebWorker{{"Web Worker"}}
119+
IndexedDB[("IndexedDB")]
120+
end
121+
Application -- ".setItem()" --> IDBCache
122+
IDBCache -. Unencrypted chunks .-> WebWorker
123+
WebWorker -. Encrypted chunks .-> IDBCache
124+
IDBCache -. Encrypted chunks .-> IndexedDB
119125
```
120126

121127
### getItem

0 commit comments

Comments
 (0)