Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/546669204/react-store
React State Manager
https://github.com/546669204/react-store
Last synced: 12 days ago
JSON representation
React State Manager
- Host: GitHub
- URL: https://github.com/546669204/react-store
- Owner: 546669204
- License: mit
- Created: 2022-02-16T02:53:12.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-18T02:48:19.000Z (almost 3 years ago)
- Last Synced: 2024-11-07T11:23:49.974Z (2 months ago)
- Language: TypeScript
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React-Store
React State Manager
## Feature
1. reactive
2. no extra re-render
3. 100 line## Usage
```js
import { createStore, useStore } from 'react-store';const data = createStore({ count: 0 });
function App() {
return (
count:{data.count}
data.count++}>++
);
}
```[more example](./example)
## License
[MIT](LICENSE) © xiaoming