Statek

Delightful state management library

Declarative data

Statek connects reactive data reactions with declarative style of expressing desired results inspired by react.

Read asyns data using sync functions

It is possible to read async selectors data in sync-like way inside store reactions and react components

No boilerplate

It is nearly trivial to start working with statek. Data store created with statek works like plain js-object.

Non-react suspense mode

Inspired by react suspense - the same thing is possible inside store change reactions, allowing easy access to async data

Works with or without React

Most of the concepts of Statek works nearly identical inside or outside of react world.

Data (async) selectors

Use selectors to perform expensive calculations or async requestes and reuse results multiple times.