Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/avkonst/hookstate

The simple but very powerful and incredibly fast state management for React that is based on hooks
https://github.com/avkonst/hookstate

hookstate mobx-react-alternative plugin-architecture react react-global-state react-hooks react-state react-state-management react-store redux-alternative typescript use-state

Last synced: 2 days ago
JSON representation

The simple but very powerful and incredibly fast state management for React that is based on hooks

Awesome Lists containing this project

README

        


Hookstate


The most straightforward, extensible and incredibly fast state management that is based on React state hook.




Why? โ€ข
Docs / Samples โ€ข
Demo application โ€ข
Extensions โ€ข
Release notes























## Preface

Hookstate is a modern alternative to Redux, Mobx, Recoil, etc. It is simple to learn, easy to use, extensible, very flexible and capable to address all state management needs of large scalable applications. It has got impressive performance and predictable behavior.

**Any questions? Just ask by raising a GitHub ticket.**

## Why Hookstate

[hookstate.js.org](https://hookstate.js.org)

## Migrating to version 4

[hookstate.js.org/docs/migrating-to-v4](https://hookstate.js.org/docs/migrating-to-v4)

## Documentation / Code samples / Demo applications

[hookstate.js.org/docs/getting-started](https://hookstate.js.org/docs/getting-started)

## Demo application

- Running: [https://hookstate.js.org/docs/getting-started](https://hookstate.js.org/docs/getting-started)
- Source code: [https://github.com/avkonst/hookstate/tree/master/docs/demos/todolist](https://github.com/avkonst/hookstate/tree/master/docs/demos/todolist)

## Development tools

[hookstate.js.org/docs/devtools](https://hookstate.js.org/docs/devtools)

## Plugins / Extensions

[hookstate.js.org/docs/extensions-overview](https://hookstate.js.org/docs/extensions-overview)

## API reference

[hookstate.js.org/docs/typedoc-hookstate-core](https://hookstate.js.org/docs/typedoc-hookstate-core)

## Hookstate developers workflow

This is the mono repository, which combine the Hookstate core package, extensions, docs and demo applications. `pnpm` is used as node_modules manager and `nx` as a scripts launcher. Each package defines its own rules how to build, test, etc.

From the repository root directory:

- `npm install -f pnpm` - install pnpm tool
- `pnpm install` - install node_modules for all packages

- `pnpm nx <package>` - run script for a package as well as build dependencies if required, for example:
- `pnpm nx build core` - run `build` script for `core` package
- `pnpm nx start todolist` - run `start` script for `todolist` package as well as build for all dependencies