@reverse/state
TypeScript icon, indicating that this package has built-in type declarations

2.1.8 • Public • Published

@reverse/state

State holders which can be used with React Hooks to easily display data.

You can install with nodejs and npm

npm i @reverse/state

Table of Contents

SimpleState

A Simple State holder. Contains an internal value and an event emitter.

Storage State

Same as Simple State, but it syncs it's value to a localStorage item. Supports all values serializable by JSON.stringify/JSON.parse.

hookFromState

Creates a React Hook using a state's get method and event listeners.

Readme

Keywords

none

Package Sidebar

Install

npm i @reverse/state

Weekly Downloads

0

Version

2.1.8

License

none

Unpacked Size

5.93 kB

Total Files

8

Last publish

Collaborators

  • davecaruso
  • hparcells
  • imdaveead