# combine-containers

> ![npm](https://img.shields.io/npm/v/combine-containers.svg)

Latest version **0.1.3-alpha** (published 2018-07-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install combine-containers
pnpm add combine-containers
yarn add combine-containers
bun add combine-containers
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.3-alpha |
| Published | 2018-07-09 |
| First published | 2018-05-10 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alex Bechmann |
| Maintainers | alexbechmann |

## Links

- npm: https://www.npmjs.com/package/combine-containers
- Repository: https://github.com/alexbechmann/combine-containers
- Homepage: https://github.com/alexbechmann/combine-containers#readme
- Issues: https://github.com/alexbechmann/combine-containers/issues
- npm.io page: https://npm.io/package/combine-containers

## Recent versions

- 0.1.3-alpha (latest) — 2018-07-09
- 0.1.2-alpha — 2018-07-09
- 0.1.1-alpha — 2018-07-07
- 0.1.0-alpha — 2018-07-07
- 0.0.5-alpha — 2018-05-30
- 0.0.4-alpha — 2018-05-14
- 0.0.3-alpha — 2018-05-11
- 0.0.2-alpha — 2018-05-10
- 0.0.1-alpha — 2018-05-10

## README

# combine-containers
![npm](https://img.shields.io/npm/v/combine-containers.svg)

# Installation

```
npm install combine-containers --save 
```

Use this function to wrap a component with multiple containers such as react-redux, react-form, material-ui styles etc.

# Usage

```tsx
import { combineContainers } from 'combine-containers';

const ContactDialog = props => (
  <div>
    ...
  </div>
);

export default combineContainers(
  connect(mapStateToProps, mapDispatchToProps),
  reduxForm({
    form: 'contactForm',
    destroyOnUnmount: false
  }),
  withStyles(styles, { withTheme: true })
])(ContactDialog);

```

Includes TypesScript typings.

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