Commit 9994431
Cover
Summary:
Pull Request resolved: #58141
Classifies `react/renderer/componentregistry/native:native` as a private target under the C++ stable API three-tier visibility model. Adds `#include <react/cxxstableapi/PrivateGuard.h>` to the module's single exported header (`NativeComponentRegistryBinding.h`), and wires the guard dependency into BUCK and CMake.
The `React-Fabric` pod that ships this module already depends on `React-cxxstableapi` and is marked as a React Native build, so no podspec change is needed.
The guards are inert unless a consumer defines `RN_STRICT_API`, so there is no behavior change.
Changelog: [Internal]
Reviewed By: cortinico
Differential Revision: D117338950
fbshipit-source-id: 46c758749d467cd3ab9acf569ecbc77ba3caacaacomponentregistry/native with guards (#58141)1 parent 911e8fc commit 9994431
2 files changed
Lines changed: 3 additions & 0 deletions
File tree
- packages/react-native/ReactCommon/react/renderer/componentregistry/native
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments