# redux-ey

> `npm install redux-ey --save`

Latest version **1.1.2** (published 2018-11-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install redux-ey
pnpm add redux-ey
yarn add redux-ey
bun add redux-ey
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-11-28 |
| First published | 2018-03-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 62.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | baishiup |

## Links

- npm: https://www.npmjs.com/package/redux-ey
- Repository: https://github.com/baishiup/redux-ey
- Homepage: https://github.com/baishiup/redux-ey#readme
- Issues: https://github.com/baishiup/redux-ey/issues
- npm.io page: https://npm.io/package/redux-ey

## Dependencies (6)

- [redux-ey](https://npm.io/package/redux-ey.md) ^1.0.5
- [babel-cli](https://npm.io/package/babel-cli.md) ^6.26.0
- [babel-polyfill](https://npm.io/package/babel-polyfill.md) ^6.26.0
- [babel-preset-env](https://npm.io/package/babel-preset-env.md) ^1.6.1
- [babel-preset-stage-3](https://npm.io/package/babel-preset-stage-3.md) ^6.24.1
- [babel-plugin-array-includes](https://npm.io/package/babel-plugin-array-includes.md) ^2.0.3

## Recent versions

- 1.1.2 (latest) — 2018-11-28
- 1.1.1 — 2018-03-29
- 1.1.0 — 2018-03-29
- 1.0.8 — 2018-03-29
- 1.0.7 — 2018-03-29
- 1.0.6 — 2018-03-29
- 1.0.5 — 2018-03-29
- 1.0.2 — 2018-03-29
- 1.0.1 — 2018-03-26
- 1.0.0 — 2018-03-26

## README

`npm install redux-ey --save`

```js
// store/test.model.js
export default {
  namespace: 'test',
  state: {
    a: 1,
    b: 2
  }
};


// store/index.js
import { combineReducers } from 'redux';
import ReduxEy from 'redux-ey';
import test from './test.model';

export default combineReducers({

  test: ReduxEy(test)

})

// page/home.js
import * as React from 'react';
import { connect } from 'react-redux';

@connect(({ test }) => ({ test }))
class Home extends React.Component {
  upthetest() {
    let a = this.props.test.a;
    a++;
    this.props.dispatch({ type: 'test', payload: { a, b: 4 } });
  }
  render() {
    return (
      <div>
        <span onClick={() => this.upthetest()}>{this.props.test.a}</span>
      </div>
    );
  }
}
export default Home;
```

---
_Source: https://npm.io/package/redux-ey · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
