There's a faster version of egghead. Click here to try it.
1×
Become a member
to unlock all features
Autoplay

    Use Prop Getters with Render Props

    reactReact
    ^16.3.2

    When you're using prop collections, sometimes you can run into trouble with exposing implementation details of your prop collections. In this lesson, we'll see how we can abstract that away by simply creating a function called a prop getter that will compose the user's props with our prop collection.