Debugging value changes in React’s shouldComponentUpdate()
TJ Holowaychuk
1267

And what about Shallow Compare function, which is ES6 approach to the old Pure Render Mixin?

I believe it is the most clean and effective way unless I misunderstood something (and for example you wish to pick specified props to check). Though I would say that it is bad approach to only check specific props instead of every props (why to give a props that might not change at all?)

Show your support

Clapping shows how much you appreciated Kamil Jakubczak’s story.