fix: preserve parent RPC scope identity
Quality / quality (ubuntu-latest) (push) Failing after 9m50s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-12 19:23:27 +05:30
parent fe9bb9ede0
commit 7a968977f6
6 changed files with 34 additions and 9 deletions
+3 -3
View File
@@ -1062,10 +1062,10 @@ export const REACTIVE_RUNTIME = String.raw`
};
},
});
var componentHydrationTarget = componentEventTarget.closest("[data-wrn-hydration]");
var componentRpcIdentity = componentEventTarget.getAttribute("data-wrn-component") ||
(componentHydrationTarget && componentHydrationTarget.getAttribute("data-wrn-hydration")) ||
var componentRpcIdentity = el.getAttribute("data-wrn-component") ||
el.getAttribute("data-wrn-hydration") ||
componentEventTarget.getAttribute("data-wrn-component") ||
componentEventTarget.getAttribute("data-wrn-hydration") ||
"component";
var componentRpcName = String(componentRpcIdentity).split(":", 1)[0] || "component";
var serverProxy = new Proxy({}, {