save mail when reload page

This commit is contained in:
ManhNTX
2022-07-11 01:40:54 +07:00
committed by Dat H. Pham
parent 1cde4b5d5b
commit 2add68d760
13 changed files with 289 additions and 0 deletions
@@ -0,0 +1,23 @@
# 8. Unable to save data to indexedDB in onBeforeUnload state of web
Date: 2022-07-11
## Status
Accepted
## Context
- Unable to save data to indexedDB in onBeforeUnload state of web
## Decision
- Unable to save data to indexedDB in onBeforeUnload state of web
## Consequences
- Using local storage to save data in onBeforeUnload state of web
## Reference
- [Issue detail](http://vaughnroyko.com/offline-storage-indexeddb-and-the-onbeforeunloadunload-problem/)