[recompose shouldUpdate](https://github.com/acdlite/recompose/blob/master/docs/API.md#shouldupdate) is more efficient than pure.