0.1.6 • Published 2 years ago

keep-alive-switch v0.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 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

2 years ago

0.1.5

3 years ago

0.1.2

3 years ago

0.1.4

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago