From 471999b54ba75019dcf213d94196cf65c832b3da Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Thu, 15 Oct 2026 04:20:13 -0700 Subject: [PATCH] Include renderer core via its umbrella header in DOM.h Summary: `DOM.h` is a "for frameworks" header but included `` directly. That header is in the public tier, so its `UmbrellaGuard` hard-errors when consumers opt into the strict API, and `RN_ALLOW_FRAMEWORKS` does not suppress it. Include the module umbrella `` instead, which re-exports `ShadowNode.h`. `RootShadowNode.h` stays as a direct include: it is itself a "for frameworks" header and its module has no public umbrella. Changelog: [Internal] Differential Revision: D125435350 --- packages/react-native/ReactCommon/react/renderer/dom/DOM.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-native/ReactCommon/react/renderer/dom/DOM.h b/packages/react-native/ReactCommon/react/renderer/dom/DOM.h index 8f6496779c83..1f87f39aa0f1 100644 --- a/packages/react-native/ReactCommon/react/renderer/dom/DOM.h +++ b/packages/react-native/ReactCommon/react/renderer/dom/DOM.h @@ -9,8 +9,8 @@ #include +#include #include -#include #include #include #include