Go ProSign in

This Lesson is for Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Hide playlist

    Explore common Render Prop patterns used in React

    Thomas GrecoThomas Greco

    Render props have become tremendously popular amongst the ReactJS community. Those new to the idea of a "render prop" can easily become confused as they can be implemented in various ways.

    In this lesson, we will walk through two extremely common ways in which render props are created. The first scenario will expose data to child components using this.props.render. Following this, we'll then modify the component to use the FaaC (Function-as-a-Child) pattern in which we'll expose data to child components via this.props.children.

    "Use a Render Prop!!" by Michael Jackson

    You must be a Member to view code