Go ProSign in
Hide playlist

    Refactor a Higher-Order Component to a Render Prop Component

    Andrew Del PreteAndrew Del Prete

    In this lesson we look at two React components that render a Chuck Norris joke and share common functionality via a Higher-Order Component. We'll refactor this Higher-Order Component to be a Render Prop component to help make it easier to reason about.

    You must be a Member to view code