# @chickendinosaur/inferno-storex

> Inferno container creator for Storex store connections.

Latest version **3.0.8** (published 2017-03-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install @chickendinosaur/inferno-storex
pnpm add @chickendinosaur/inferno-storex
yarn add @chickendinosaur/inferno-storex
bun add @chickendinosaur/inferno-storex
```

## 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 | 3.0.8 |
| Published | 2017-03-04 |
| First published | 2017-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | John Pittman |
| Maintainers | chickendinosaur |
| Keywords | connect, provider, store |

## Links

- npm: https://www.npmjs.com/package/@chickendinosaur/inferno-storex
- Repository: https://github.com/chickendinosaur/inferno-storex
- Homepage: https://github.com/chickendinosaur/inferno-storex#readme
- Issues: https://github.com/chickendinosaur/inferno-storex/issues
- npm.io page: https://npm.io/package/@chickendinosaur/inferno-storex

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 3.0.8 (latest) — 2017-03-04
- 3.0.7 — 2017-03-02
- 3.0.6 — 2017-02-28
- 3.0.5 — 2017-02-28
- 3.0.4 — 2017-02-28
- 3.0.3 — 2017-02-18
- 3.0.2 — 2017-02-16
- 3.0.1 — 2017-02-16
- 3.0.0 — 2017-02-16
- 2.0.0 — 2017-02-16
- 1.0.2 — 2017-02-16
- 1.0.1 — 2017-02-16
- 1.0.0 — 2017-02-16

## README

Inferno container creator for [Storex](https://github.com/chickendinosaur/storex) connections.

---  

# Specs  

## Performance  

### @chickendinosaur/inferno-storex

---  

## Overhead  

### @chickendinosaur/inferno-storex

Browserify (minified) \w with connect and Provider  

34758 bytes  

### inferno-redux

Browserify (minified) \w with connect and Provider  

53675 bytes  

---  

# Getting Started  

## Installation

#### npm  

npm install @chickendinosaur/inferno-storex

## Usage

```javascript
import { Store, Reducer } from '@chickendinosaur/storex';
import { connect, Provider } from '@chickendinosaur/inferno-storex';

// Store.
const store = new Store(new Reducer({
	addCount: function (state, action) {
		state.count += action.payload.incAmount
	}
}), {
	count: 5
});

// Test component.
function TestContainer (props, context) {
	return (
		<div>
			{props.count}
		</div>
	);
}

// connect.
function mapStateToProps(props, state) {
	props.count = state.count;
}

function mapDispatchToProps(props, dispatch) {
	props.upAction = function () {
		dispatch(new Action('addCount', {
			incAmount: 1
		}));
	};
};

const TestContainer = connect(
	TestComponent,
	mapStateToProps,
	mapDispatchToProps
);

// Top level render.
Inferno.render(
	<Provider store={store}>
		<TestContainer />
	</Provider>,
	document.getElementById('root')
);
```
---  

# Development  

## Installation  

~/project/:

* npm install

## Build  

* npm run build

## Benchmarking  

* npm run benchmark

## Test  

* npm run test

## Deploy  

* npm run deploy

---  

# License  

The MIT License (MIT)

Copyright (c) 2016 John Pittman

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the &#34;Software&#34;), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED &#34;AS IS&#34;, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

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