react-pure-props
It is a little different from the PureComponent
of react.
First, compare only the props. If the state does not change, do not re-render.
However, if the update does not change only through setState
, it also re-render.
Installation
npm
$ npm install react-pure-props
How to use
;
License
MIT License
Copyright (c) 2019 Daybrush