Practic Persist - v1.0.0
    Preparing search index...
    • Owns local or persisted state and exposes it through a render prop.

      Type Parameters

      Parameters

      • props: PersistItem<T>

        Configuration for the persisted state owner. data-key: Optional storage key; the default key otherwise. data-attr: Attribute under which the value is stored; without it, the value stays in memory.

      Returns ReactNode

      The content produced by the render function.