The nextProps could contain new objects but actually the exact value of old ones. Compare their values instead to make sure shouldComponentUpdate only triggered with actual change.
Updates
Use JSON.stringify() to compare the props in shouldComponentUpdate
Overview
The nextProps could contain new objects but actually the exact value of old ones. Compare their values instead to make sure shouldComponentUpdate only triggered with actual change.
Updates
Use JSON.stringify() to compare the props in shouldComponentUpdate