# react-reviver

> a high order component to revive your component

Latest version **0.1.0** (published 2018-06-05) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install react-reviver
pnpm add react-reviver
yarn add react-reviver
bun add react-reviver
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2018-06-05 |
| First published | 2018-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 41 |
| Unpacked size | 321.5 KB |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| Author | fi3ework |
| Maintainers | fi3ework |

## Links

- npm: https://www.npmjs.com/package/react-reviver
- Repository: https://github.com/fi3ework/react-revive
- Homepage: https://github.com/fi3ework/react-revive#readme
- Issues: https://github.com/fi3ework/react-revive/issues
- npm.io page: https://npm.io/package/react-reviver

## Dependencies (41)

- [raf](https://npm.io/package/raf.md) 3.4.0
- [jest](https://npm.io/package/jest.md) 20.0.4
- [chalk](https://npm.io/package/chalk.md) 1.1.3
- [react](https://npm.io/package/react.md) ^16.4.0
- [dotenv](https://npm.io/package/dotenv.md) 4.0.0
- [eslint](https://npm.io/package/eslint.md) 4.10.0
- [promise](https://npm.io/package/promise.md) 8.0.1
- [resolve](https://npm.io/package/resolve.md) 1.6.0
- [webpack](https://npm.io/package/webpack.md) 3.8.1
- [fs-extra](https://npm.io/package/fs-extra.md) 3.0.1
- [react-dom](https://npm.io/package/react-dom.md) ^16.4.0
- [babel-core](https://npm.io/package/babel-core.md) 6.26.0
- [babel-jest](https://npm.io/package/babel-jest.md) 20.0.3
- [css-loader](https://npm.io/package/css-loader.md) 0.28.7
- [url-loader](https://npm.io/package/url-loader.md) 0.6.2
- [file-loader](https://npm.io/package/file-loader.md) 1.1.5
- [autoprefixer](https://npm.io/package/autoprefixer.md) 7.1.6
- [babel-eslint](https://npm.io/package/babel-eslint.md) 7.2.3
- [babel-loader](https://npm.io/package/babel-loader.md) 7.1.2
- [style-loader](https://npm.io/package/style-loader.md) 0.19.0
- [whatwg-fetch](https://npm.io/package/whatwg-fetch.md) 2.0.3
- [babel-runtime](https://npm.io/package/babel-runtime.md) 6.26.0
- [dotenv-expand](https://npm.io/package/dotenv-expand.md) 4.2.0
- [eslint-loader](https://npm.io/package/eslint-loader.md) 1.9.0
- [object-assign](https://npm.io/package/object-assign.md) 4.1.1
- [postcss-loader](https://npm.io/package/postcss-loader.md) 2.0.8
- [react-dev-utils](https://npm.io/package/react-dev-utils.md) ^5.0.1
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^4.2.2
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) 2.9.4
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) 7.4.0
- [html-webpack-plugin](https://npm.io/package/html-webpack-plugin.md) 2.29.0
- [eslint-plugin-import](https://npm.io/package/eslint-plugin-import.md) 2.8.0
- [babel-preset-react-app](https://npm.io/package/babel-preset-react-app.md) ^3.1.1
- [eslint-plugin-flowtype](https://npm.io/package/eslint-plugin-flowtype.md) 2.39.1
- [eslint-plugin-jsx-a11y](https://npm.io/package/eslint-plugin-jsx-a11y.md) 5.1.1
- [postcss-flexbugs-fixes](https://npm.io/package/postcss-flexbugs-fixes.md) 3.2.0
- [eslint-config-react-app](https://npm.io/package/eslint-config-react-app.md) ^2.1.0
- [webpack-manifest-plugin](https://npm.io/package/webpack-manifest-plugin.md) 1.3.2
- [sw-precache-webpack-plugin](https://npm.io/package/sw-precache-webpack-plugin.md) 0.11.4
- [extract-text-webpack-plugin](https://npm.io/package/extract-text-webpack-plugin.md) 3.0.2
- [case-sensitive-paths-webpack-plugin](https://npm.io/package/case-sensitive-paths-webpack-plugin.md) 2.1.1

## Recent versions

- 0.1.0 (latest) — 2018-06-05

## README

# react-reviver

Revive a component to the state when it unmount. 

## usage

```jsx
import reviver from {react-reviver}

const Routes = () => (
  <main>
    <Switch>
      <Route exact path='/' component={App}/>
      <Route path='/items/:id' component={Item}/>
      <Route path='/items' component={reviver(Items, {id: '/itmes'})}/>
    </Switch>
  </main>
)
```

## WIP

TO BE CONTINUED.

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