@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.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.80latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.80
2.1.70
2.1.60
2.1.50
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.30
2.0.20
2.0.10
2.0.00
1.0.120
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

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