Reads and sets a persisted value from a component, stored through the registered persistence layer: the hook form of Persist.Root, for state used across a component rather than inside one render prop.
Persist.Root
A value declared with persistCreateState, or where the value lives and its initial value. Without attr, the value stays in this component's memory.
attr
Reads and sets a persisted value from a component, stored through the registered persistence layer: the hook form of
Persist.Root, for state used across a component rather than inside one render prop.