Improve debuggability of Higher Order Components
React DevTools and React's built-in development warnings rely on the
name property of your react components to give you a good developer experience. Unfortunately, Higher Order Components make it harder for React to give that good experience. In this lesson, we’ll learn about the
displayName property and how that impacts React Developer Tools. Then we'll improve the
displayName for our Higher Order Component by changing where we call the withToggle Higher Order Component.