react-pure-stateless
HoC to make your React stateless component real pure.
This is a simple general helper to get around stateless components not being strictly speaking pure; Given the same props, it still renders everytime.
This high order component leverages the react-pure-render module to wrap your stateless component into a class component with pure shouldComponentUpdate behavior.
Installation
Install via npm, note that you will also need to install react-pure-render.
npm install --save react-pure-stateless
Usage
var pureStateless = let MyPureComponent =
NB: You should probably think twice before using this for every stateless component =)
License
MIT