# reaxpress-state

> A simple state management library for React

Latest version **0.2.2** (published 2018-02-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install reaxpress-state
pnpm add reaxpress-state
yarn add reaxpress-state
bun add reaxpress-state
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2018-02-19 |
| First published | 2017-11-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 349.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Austin Gray |
| Maintainers | austingray |
| Keywords | React, Reaxpress |

## Links

- npm: https://www.npmjs.com/package/reaxpress-state
- Repository: https://github.com/austingray/reaxpress-state
- Homepage: https://github.com/austingray/reaxpress-state#readme
- Issues: https://github.com/austingray/reaxpress-state/issues
- npm.io page: https://npm.io/package/reaxpress-state

## Dependencies (4)

- [react](https://npm.io/package/react.md) ^16.1.1
- [webpack](https://npm.io/package/webpack.md) ^3.8.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.2.0
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.2.2 (latest) — 2018-02-19
- 0.2.1 — 2017-11-30
- 0.2.0 — 2017-11-30
- 0.1.0 — 2017-11-26

## README

# Reaxpress State

A simple state management library for React.

Example:

```javascript
import React from 'react';
import ReaxpressState from 'reaxpress-state';

@ReaxpressState
class TestComponent extends React.Component {
  updateGlobalState(color) {
    window.__REAXPRESS_STATE__.update({
      color: color,
    });
  }
  render() {
    const color = this.props.state.color || 'no color set';
    return (
      <div>{color}</div>
    );
  }
}

export default TestComponent
```

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