When to use Component or PureComponent – codeburst

I switched to using PureComponent awhile back on the premise of it being a more performant version of Component. This turned out to be true, but the performance gains come with a few strings attached. Let’s dig in to PureComponent and understand why we should be using it….

Source: https://codeburst.io/when-to-use-component-or-purecomponent-a60cfad01a81

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.