News for hackers. Stuff that matters.
Re:Optimizing React Rendering by korm on Thursday May 25, 2017 @05:23PM (#14420247)
Not sure I understand your question. Functional components and class components both use createClass internally IIRC. In any case, they are the same. A PureComponent is simply a Component with shouldComponentUpdate written for you. Functional components can't be pure, but you can use an enhancer for them.

There are no comments on this comment yet.