rememberSaveableStore

Remember a AtomSaveableStore that saves and restores the state of Atoms.

Note: LocalSaveableStateRegistry is required to save and restore the state. If LocalSaveableStateRegistry is not found, the state will not be saved and restored.

Return

The remembered AtomSaveableStore.

Parameters

key

The key to save and restore the state. By default, it resolves using currentCompositeKeyHash.