> Note that
PureComponent does a shallow comparison of props, so if you use complex data structures, it may miss some prop changes and not update your components.
This is not the case. As long as you’re not mutating props anywhere, any change to an prop object should result in a new object reference and the shallow comparision should fail.
It’s also worth mentioning that PureComponents compare state as well as props.