0.1.6 • Published 3 years ago

keep-alive-switch v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

keep-alive-switch

react-router keep-alive switch component

Usage

import KeepAliveSwitch from 'keep-alive-switch';

function PointsMall() {
  return (
    <KeepAliveSwitch>
      <Route path="business/list" component={PointsMallList} keepAlive />
      <Route path="business/create" component={PointsMallCreate} />
      <Route path="business/edit" component={PointsMallEdit} />
      <Route path="business/detail" component={PointsMallDetail} />
    </KeepAliveSwitch>
  );
}
0.1.6

3 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.4

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago