Persist
Save preferences and notes to local storage, reload the page, and inspect the restored state.
Simple Persist
Change a preference, then refresh to restore it.
Opening local storage…
Kitchen Sink Persist
Add notes and tags, change their order, and inspect the saved data.
Opening local storage…
API · persist(store, options): PersistHandle from @codebelt/classy-store/utils.
The simple example stores plain preferences. The notes example also serializes and restores dates, reactive maps, and reactive sets.
