react-mixout-pure

Pure render implementation for react-mixout

Usage no npm install needed!

<script type="module">
  import reactMixoutPure from 'https://cdn.skypack.dev/react-mixout-pure';
</script>

README

React Mixout - Pure

npm Build Status

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.