Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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