gunJS 的离线优先功能能走多远?

How far does the Offline-first feature of gunJS go ?

我想知道数据是如何在设备上持久化(保存)的,它能在重启后继续存在吗?或重新启动浏览器?

来自gun作者:

it depends on the device. In case of the browser, localStorage is used and can survive reboot, reload, etc.

If it is in NodeJS, most storage adapters (the current default file.js, the upcoming default RAD, and others) store to disk (and even some, to S3, IPFS, etc.) which survive reboot and can even migrate between machines (like with Heroku) for the latter adapters.

来源:https://github.com/amark/gun/issues/529