react-virtualized-listview icon indicating copy to clipboard operation
react-virtualized-listview copied to clipboard

Support render function pattern with `children` prop.

Open squgeim opened this issue 7 years ago • 1 comments
trafficstars

The render prop patterns has become quite popular in the React ecosystem and the most common way to do it with the children prop. The renderItem prop is doing exactly this. I believe supporting the children prop for compatibility with the ecosystem would be nice.

squgeim avatar Jun 13 '18 06:06 squgeim

Instead of render props what do you think about Children Render Props, I personally find Children Render Props cleaner to write and expose as an API. I guess Children Render Props is what you meant to suggest here.

rabingaire avatar Aug 27 '18 14:08 rabingaire