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
Copy file name to clipboardExpand all lines: src/services/storage/readme.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,10 @@ Storage manager(alias: sm?) uses localStorage to store small data, and indexDB t
4
4
5
5
In the future, for example, when opening messages board, we need to wait for fetching data before rendering. Instead, query in the local database and render it immediately, then compare with server response amd update.Offline pages may also be served through this middleware layer.
6
6
7
+
Tips: when user logput, we'll use `localStorage.clear()` derectly
0 commit comments