Lightlines
By patternsdev

compound-pattern

patternsdev1k installs

Build React components that share state cleanly.

What it does

Guides the implementation of related React components that share state through a parent component.

When to use it

Use when building dropdowns, tabs, or menus with related subcomponents and a clean API that hides internal state management.

How to use it

It changes how the agent builds related React components by sharing state through Context and attaching child components to their parent.

What you provide

  • An existing project

Latest review

What you need · 1

Requires React for the component implementation and its Context API for sharing state.


Access · 0

No additional actions listed.