render-props-pattern
OfficialReuse rendering logic with render props.
AuthorPatternsDev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Reusable rendering logic across components by passing a function that returns JSX as a prop.
Core Features & Use Cases
- Share UI rendering logic between components without creating tight coupling.
- Enable flexible composition by delegating what gets rendered to child components.
- Use case: render different headers for list items using the same data-fetching logic.
Quick Start
Create a simple component that takes a render prop and uses it to render a header for a list.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: render-props-pattern Download link: https://github.com/PatternsDev/skills/archive/main.zip#render-props-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.