Aricles related to


React: Improve the performance by using PureComponents

In this post we're going to look at PureComponents in React. So what is a PureComponent? A PureComponent is just the same as a normal react component except for one thing — the implementation of shouldComponentUpdate. A PureComponent only does a shallow comparison of the props and state to decide if…