apeman-react-mixin-pure

1.0.5 • Public • Published

apeman-react-mixin-pure

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for pure mixin

Installation

$ npm install apeman-react-mixin-pure --save

Usage

#!/usr/bin/env node
 
'use strict'
 
import React from 'react'
import {ApPureMixin} from 'apeman-react-mixin-pure'
 
// Define own component with the mixin
const ExampleComponent = React.createClass({
  mixins: [
    // Implement shouldComponentUpdate with shallow compare
    ApPureMixin
  ],
  render () {
    return (
      <div>{ /* ... */ }</div>
    )
  }
})
 

License

This software is released under the MIT License.

Links

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.5
    22
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    22
  • 1.0.4
    0
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i apeman-react-mixin-pure

Weekly Downloads

20

Version

1.0.5

License

MIT

Last publish

Collaborators

  • okunishinishi