Using Render Props to Share Code Between React Components.

John Au-Yeung
DataSeries
Published in
3 min readMar 27, 2020

--

Photo by Mia Baker on Unsplash

React is a library for creating front end views. It has a big ecosystem of libraries that work with it. Also, we can use it to enhance existing apps.

In this article, we’ll look at how to use render props to render components passed from the parent to the child.

Render Props

--

--