Skip to content
forked from umijs/hox

The next-generation state manager for React.

License

Notifications You must be signed in to change notification settings

miracles1919/hox

 
 

Repository files navigation

Hox

State sharing for React components.

npm version npm bundle size (minified) React

English Doc · 中文文档

This is the documentation for hox v2. If you are looking for the v1 doc, please go here.

Play Hox in Codesandbox

Edit

Install

Why Hox?

  • Direct reuse of existing React knowledge, almost no learning cost, how you write React components, you can write Store
  • Designed for flexible refactoring, using the same DSL in Store and components allows you to convert a component's local state into a state shared between components at almost zero cost
  • Supports both local and global states, a good balance between flexibility and simplicity
  • Excellent performance and TypeScript support

About

The next-generation state manager for React.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 69.5%
  • JavaScript 26.0%
  • HTML 4.3%
  • Shell 0.2%