News for hackers. Stuff that matters.
Re:Why-did-you-update – Warnings about unnecessary React upd... by vinnymac on Wednesday April 19, 2017 @02:54PM (#14150643)
It is not a bullet proof solution. It has its use cases, but a couple pitfalls as well. Using PureComponent as a parent to many Component classes is generally not a good idea. If a child depends on a change from `this.context` it will not re-render unless the PureComponent declares `contextTypes`.

https://github.com/facebook/react/issues/2517

There are no comments on this comment yet.