For a full description of what this is please refer to the main README file of this project.
You can install this package with the following command:
npm install react-mixout-pure
Provides an implantation of shouldComponentUpdate shallowly checking the equality of next and previous props and context for your mixout.
This is only a tiny feature so, one example is enough.
import mixout from 'react-mixout'; import pure from 'react-mixout-pure'; const Component = props => /* Your everyday component*/ null; export default mixout(pure)(Component);
The typescript type definitions are also available and are installed via npm.
This project is licensed under the MIT license.