Repository navigation
Commit cca7207
Include renderer core via its umbrella header in DOM.h (#59107)
Summary:
Pull Request resolved: #59107
`DOM.h` is a "for frameworks" header but included `<react/renderer/core/ShadowNode.h>` 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 `<React/RendererCore.h>` 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]
___
landed-with-radar-review
Differential Revision: D125435350
fbshipit-source-id: ca0dc430d392f57097e03cd6e59d6ea0867dfe2a1 parent 72885c1 commit cca7207
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments