React with native store

react-with-native-store (ui-es5 operation)

Simple localStorage/asyncStorage-based and fully typed redux replacement with global persisted storage by default for react and react-native apps.

Size: 225 LOC, 3052 data characters,

Imported dependencies:

  • From Core Libraries: useEffect, useState
  • From Packages: none
  • From Operations: none

Outline

Functions

Functions

getItem

Max. indexation depth: 2,

Returns: unknown

Arguments

key: string

setItem

Max. indexation depth: 2,

Returns: unknown

Arguments

key: string

value: object

Properties:

NameTypeDescription