Conclusion

Let's conclude the topics covered in this chapter.

React.memo brings the class PureComponent behavior to functional components. We’ve also had a look at using the equalityCheck function as well. If you use the equalityCheck function, be sure to include checks for function props where applicable. Not doing so is a common source of bugs in many React applications.

Get hands-on with 1200+ tech skills courses.