react-mixout-pure
v0.5.7
Published
Pure render implementation for react-mixout
Downloads
36
Maintainers
Readme
React Mixout - Pure
For a full description of what this is please refer to the main README file of this project.
Installation
You can install this package with the following command:
npm install react-mixout-pure
API Reference
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.
Example
import mixout from 'react-mixout';
import pure from 'react-mixout-pure';
const Component = props => /* Your everyday component*/ null;
export default mixout(pure)(Component);
Typings
The typescript type definitions are also available and are installed via npm.
License
This project is licensed under the MIT license.