Use Provide/Inject
Share state down the component tree without prop drilling.
Insert label
Provide/Inject Prompt
Replace prop drilling with provide and inject. Define a typed injection key, provide reactive state from the ancestor component, and inject it in descendants. Add a sensible fallback or throw if the provider is missing.
Add this to your Facet Inserts in Crystl for one-click access.
Get Crystl