Slot / Children-as-Function Pattern
Learn the pattern of passing children as a function to expose internal state directly at the usage site, without a separate render prop name.
The 'function as children' pattern is a variant of render props where instead of a distinctly-named prop like render, the special children prop itself is a function. React treats children as just another prop, so there's nothing stopping it from being a function rather than JSX — the parent component simply calls this.props.children(data) (or props.children(data) in a function component) instead of rendering children directly as markup.
It's the same tour-guide idea as render props, just handing you the blank photo frame through the normal 'children' pocket of your backpack instead of a separately labeled compartment — same delivery mechanism, more familiar-looking packaging.