Update: In an earlier version of this article, I referred to the pattern of passing a rendering function as Function as Prop Component. I’ve updated this article to use the now common name, Render Props, as well as to refresh some of the sample code. React has also embraced the concept of passing a function as children in the recent context API Consumer component. With deference to the React core