I'm trying to adopt shallowEqual
and one way is to use PureRenderMixin.
But I'm trying to stay away from javascript mixins
(
https://facebook.github.io/react/blog/2016/07/13/mixins-considered-harmful.html)
I'm also using redux, and redux's connect
gives the pure render functionality already. (which means redux connect is the HOC which provides pure-render)
So I can just connect components that needs pure-render, but I also read the distinction between dumb / smart components, and reluctant to connect
every components.
Should I just use connect
? or is there a better way of doing this?