n
ext react-redux
React-Nedux - The
The official React bindings for nedux. Performant and flexible.
📦 Installation
npm install react-nedux --save
💻 Usage with examples
Name | Source | Codesandbox |
---|---|---|
✅ Todo List | here | here |
🎛 Counter | here | here |
📜 Documentation
Import
// ES6; // ES5var createStoreHook = createStoreHook;
createStoreHook(store)
Creates a Nedux hook with the same usage of useState.
argument | required | type | description |
---|---|---|---|
store |
✅ | Store | The store created by createStore. |
useStore
The useStore
hook created by createStoreHook
can be used as same as useState.
🎛 Basic Usage
Feel free to test it here.
;;;; ; ; ;; ; ;render, rootElement;
🙋🏼 Contributions
All Pull Requests, Issues and Discussions are welcomed !