10.0.0 • Published 30 days ago

@jaybeeuu/recoilless v10.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
30 days ago

recoilless

npm

A slightly too fully fledged state management library based loosely on concepts found in recoil.

The basic idea is to have small blocks of state, atoms in Recoil or values in Recoilless (I prefer clear names), to which listeners can subscribe. When the value updates the subscribers are notified.

Values can either be primitive or derived. Primitive values are simple static values, numbers, strings etc. they are the building blocks of the state.

Derived values take primitive values, and calculate (or retrieve, since they can be asynchronous) some value. The calculation (or fetch) is only performed when the dependent values update.

Finally actions allow a function to be called which might update values. It may make use of values, but will only have a snapshot of them, i.e. will not setup a subscription.

For more details on how to use recoilless have a look at the unit tests for primitive values , derived values and actions .

10.0.0

30 days ago

9.0.0

1 month ago

8.0.0

1 month ago

7.0.3

2 months ago

7.0.2

2 months ago

5.0.1

10 months ago

5.0.0

10 months ago

6.0.0

10 months ago

7.0.0

7 months ago

7.0.1

7 months ago

4.0.1

11 months ago

4.0.0

11 months ago

1.0.1

1 year ago

3.0.0

1 year ago

2.0.0

1 year ago

1.0.0

1 year ago

0.0.1

2 years ago

0.0.0

2 years ago