coordinate-components

Community

Share state across components without direct parent-child relationships

Authorojrojas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps in managing state between components that lack a direct parent-child relationship, enabling state sharing in complex component trees without using parameter passing or event callbacks.

Core Features & Use Cases

  • State Sharing: Share state between components using cascading values and scoped services.
  • Render Mode Boundary Crossing: Supports sharing state across different render modes (SSR, interactive, WebAssembly).
  • Use Case: Ideal for sharing theme settings, user preferences, or global state like a shopping cart across multiple pages.

Quick Start

To use this skill, wrap your component subtree in a <CascadingValue> with the desired state.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: coordinate-components
Download link: https://github.com/ojrojas/AgentsInstructions/archive/main.zip#coordinate-components

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.