2.1.8 • Published 5 years ago
@reverse/state v2.1.8
@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
- StorageState (browser only)
- hookFromState (requires react)
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.
2.1.8
5 years ago
2.1.7
5 years ago
2.1.6
5 years ago
2.1.4
5 years ago
2.1.5
5 years ago
2.1.3
5 years ago
2.1.2
5 years ago
2.1.1
5 years ago
2.1.0
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago