0.8.0 • Published 2 years ago

immer-state v0.8.0

Weekly downloads
9
License
MIT
Repository
-
Last release
2 years ago

immer-state

This is a proof of concept of a state manager class that combines React Hooks, immer and an adapted publish-subscribe pattern.

See the example files for an idea of how this works.

This is a work in progress.

Installation

yarn add immer-state
import { StateManager, useSelector } from 'https://cdn.pika.dev/immer-state@^0.3.0';

Development

yarn install
yarn run start

Example

cd example
yarn install
yarn run start

Then open localhost:1234.

Development

This library uses wes-cli, which simplifies configuration setup. Instead of using yarn install, you should use npx wes-cli install, which will create all configuration files and run yarn install.

Read more about wes-cli.

LICENSE

MIT, https://wes.dev/LICENSE.txt

0.8.0

2 years ago

0.7.0

2 years ago

0.3.1

3 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago