React's Render Props technique in 3 Minutes

added by JavaScript Kicks
12/11/2018 8:19:07 AM

725 Views

A technique for sharing logic between components. Components accept a prop that returns a function responsible for rendering something. This allows our component to focus on other logic. For those in camp TL;DR, scroll down for a demo 👍 Handle some or all the rendering logic for a component.


0 comments