I really can't figured out why if I declare an empty shouldComponentUpdate
in a component, like this:
shouldComponentUpdate: function(nextProps, nextState) {},
React automatically doesn't render the component when it's not necessary (and that's perfectly fine).
WHILE if I remove the empty declaration, it will render it every time...
I'm using Immutable.js for props.