react-redux-unbranch
TypeScript icon, indicating that this package has built-in type declarations

1.3.9 • Public • Published

React-redux-unbranch


restate

Isolate descendants from unnesserary store updates.

Build status

(a part of restate project)

Detect used parts of a store, and cuts off updates. Towards zero.

[WIP, only manual settings working so far]. Try [beautiful-react-redux](https://github.com/theKashey/beautiful-react-redux] instead

import { ReduxUnbranch } from 'react-redux-unbranch';
 
const scoped = <ReduxUnbranch ignoreKeys={['a', 'b', 'c']}>// will ignore everything</ReduxUnbranch>;
 
const scoped = (
  <ReduxUnbranch passKeys={['a', 'b', 'c']} mode="pass">
    // will ignore everything
  </ReduxUnbranch>
);

Licence

MIT

Package Sidebar

Install

npm i react-redux-unbranch

Weekly Downloads

2

Version

1.3.9

License

MIT

Unpacked Size

11.8 kB

Total Files

6

Last publish

Collaborators

  • kashey