Lightlines
By secondsky

react-composition-patterns

secondsky467 installs

React components without a maze of boolean props.

What it does

Guides the agent to build and refactor reusable React components using composition instead of boolean-driven variants.

When to use it

Use when refactoring components with many boolean props, building reusable component libraries, designing component APIs, or reviewing component architecture.

How to use it

It changes how the agent maintains, generates, and refactors React project code by applying composition guidelines.

What you provide

  • An existing project

Latest review

What you need · 1

The guidelines apply to codebases using React; no required version is stated.


Access · 0

No additional actions listed.