Skip to content

MaxMEllon/react-addons-deep-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-addons-deep-compare

Examples

var deepCompare = require('react-addons-deep-compare');
export class SampleComponent extends React.Component {
  shouldComponentUpdate(nextProps, nextState) {
    return deepCompare(this, nextProps, nextState);
  }

  render() {
    return <div className={this.props.className}>foo</div>;
  }
}

About

deep compare addons for react.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published