1.3.9 • Published 6 years ago
react-redux-unbranch v1.3.9
(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