Skip to content

Commit 790f0da

Browse files
j-piaseckimeta-codesync[bot]
authored andcommitted
Cover react/renderer/dom with Stable API guards
Summary: Classifies `react/renderer/dom` as a private target under the three-tier C++ stable API visibility model. `DOM.h` now includes `<react/cxxstableapi/PrivateGuard.h>`. Consumers that opt into `RN_STRICT_API` now get an error if they include `DOM.h` directly; without that flag the guard is inert, so no existing build changes behaviour. Changelog: [Internal] Differential Revision: D116013879
1 parent 8178bcd commit 790f0da

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • packages/react-native/ReactCommon/react/renderer/dom

packages/react-native/ReactCommon/react/renderer/dom/DOM.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#pragma once
99

10+
#include <react/cxxstableapi/PrivateGuard.h>
11+
1012
#include <react/renderer/components/root/RootShadowNode.h>
1113
#include <react/renderer/core/ShadowNode.h>
1214
#include <cstdint>

0 commit comments

Comments
 (0)