avkonst/hookstate
حول
إدارة حالات بسيطة لكنها قوية جدًا وسريعة للغاية في React، وتعتمد على Hooks
تطوير الويب والتطبيقاتالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- -٣
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصل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
Migrating to version 4
hookstate.js.org/docs/migrating-to-v4
Documentation / Code samples / Demo applications
hookstate.js.org/docs/getting-started
Demo application
- Running: https://hookstate.js.org/docs/getting-started
- Source code: https://github.com/avkonst/hookstate/tree/master/docs/demos/todolist
Development tools
hookstate.js.org/docs/devtools
Plugins / Extensions
hookstate.js.org/docs/extensions-overview
API reference
hookstate.js.org/docs/typedoc-hookstate-core
Hookstate developers workflow
This is the mono repository, which combines the Hookstate core package, extensions, docs and demo applications in one pnpm workspace.
It needs Node.js and the pnpm version that package.json names in packageManager. With Nix, flake.nix provides both: run nix develop, or direnv allow once to load them whenever you enter the directory.
From the repository root directory:
pnpm install- install node_modules for all packagespnpm test- run the tests of the core package and the extensions (pnpm test:watchreruns them on changes)pnpm typecheck- type check the packages and their testspnpm build- build the core package and the extensionspnpm docs:start- run the documentation site locallypnpm docs:build- build the documentation site, including the API reference generated from the core packagepnpm --filter @hookstate/todolist start- run the demo application, afterpnpm build
A change to a published package adds a changeset with pnpm changeset. CI publishes releases to npm; see .changeset/README.md.
Turn on the repository's git hooks once per clone with git config core.hooksPath .githooks. Its pre-push hook refuses commits with a Claude Co-authored-by trailer.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…