Memoize Components
(See readme.mdx)React has a built-in optimizer called memo which allows you to memoize an entire component based on its props.
The aim is to avoid re-rendering when clicking the count or app count increment button, and only re-render when the name or colour changes.
Set the footer color:
Set the footer name: