Shallow Compare
Shallow Compare props for react that works for with immutable.js
too
you can use it with recompose
install
npm i react-shallow-compare --save
or
yarn add react-shallow-compare
Usage
import
you can choose 3 methods
compare whole props
or white list props
or black list props
you can also you it without recompose
import shallowCompare from 'react-shallow-compare' Component ... { return } ...