react-reviver

a high order component to revive your component

deprecated
Last updated a year ago by fi3ework .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-reviver 
SYNC missed versions from official npm registry.

react-reviver

Revive a component to the state when it unmount.

usage

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.

Current Tags

  • 0.1.0                                ...           latest (a year ago)

1 Versions

  • 0.1.0 [deprecated]           ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 1
Last Month 11
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |