Fix local client state across sibling components
HA
3d ago+599+599+012345678901234567890123456789-18-18-01234567890123456789
Fixes #7426, where calling a local client-state setter from a sibling component could raise a ReferenceError and leave the displayed value unchanged.
The compiler now detects when local client state is shared across components and keeps those components in a compatible React scope. Added a compiler regression test and a Playwright test that verifies the sibling setter updates the rendered value. Included changelog entries for both affected packages.
Testing: Targeted unit and Playwright tests, Ruff, Pyright, and git diff --check pass locally.