简体   繁体   中英

How to auto save or make a draft of api response in the indexed db while using react web page

I want to auto save the large contents may be on indexed Db/Local Storage. The content is an api response and it is a react web application.. So, when we close the brower or logged off and then comes again then i can get a restore option to get back by changes. Anyone can can help how i can do this?

您可以使用服务工作者和缓存 api 数据

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM