plugin-persist
This plugin allows you to persist your state in the storage you need, localStorage
is used by default.
Installation
Usage
You can pass your own storage and expireIn timestamp to clean up the stale state
You can use the persist
command to force a save:
And the clearPersisted
command to clear the persisted state: