Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-redux-unbranch

thekashey24MIT1.3.9TypeScript support: included

Precisely cut redux state updates, keeping it accessible

react, redux, restate, ignore, areStatesEqual

readme

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