https://reactjs.org/docs/higher-order-components.html
-
What is a Higher Order Component?
-
True or false: HoCs are part of the React API.
-
What is one example of a higher order component from the docs? Can you think of any others you've seen?
-
What are the similarities listed between
CommentList
andBlogPost
? -
What are the two parameters for the
withSubscription
function? -
What does
{...props}
do? -
True or false: HoCs should modify the component that is being wrapped. Why or why not?
-
What are the caveats of using HoCs?
-
Can you think of any uses for HoCs in your personal project?