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

https://github.com/minaxorg/redux-hooks

Achieve Redux By React Hooks
https://github.com/minaxorg/redux-hooks

react redux redux-hooks

Last synced: 24 days ago
JSON representation

Achieve Redux By React Hooks

Awesome Lists containing this project

README

        

# @minax/redux-hooks · [![npm](https://img.shields.io/npm/v/@minax/redux-hooks.svg)](https://www.npmjs.com/package/@minax/redux-hooks)
Achieve Redux By React `useContext`

## 安装

``` shell
npm i --save @minax/redux-hooks
```

## Quick Overview

[![Edit lpl933nv5m](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/lpl933nv5m?fontsize=14)

## Notice
`^1.2.1` has some break changes, but still backward compatibility. If you update to this version,please see the online demo above to update your code if you want.

## You Need Know
every use `useContext` will rerender when store has change. So if your project is not small, please not use this library.