react-mixout-pure
    TypeScript icon, indicating that this package has built-in type declarations

    0.5.7 • Public • Published

    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.

    Install

    npm i react-mixout-pure

    DownloadsWeekly Downloads

    0

    Version

    0.5.7

    License

    MIT

    Last publish

    Collaborators

    • alitaheri