Skip to content

Commit 8a83b5b

Browse files
j-piaseckifacebook-github-bot
authored andcommitted
Remove componentNameByReactViewName from public API
Summary: Changelog: [Internal] Changes guard for `componentNameByReactViewName.h` to private and removes it from public umbrella. Comment in its implementation file says ``` // We need this function only for the transition period; // eventually, all names will be unified. ``` which strongly suggests it shouldn't be part of the public API. Differential Revision: D122570794
1 parent 245bbfa commit 8a83b5b

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/react-native/ReactCommon/react/renderer/componentregistry/React/ComponentRegistry.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <react/renderer/componentregistry/ComponentDescriptorProvider.h>
3636
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
3737
#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
38-
#include <react/renderer/componentregistry/componentNameByReactViewName.h>
3938

4039
#undef RN_UMBRELLA_CONTEXT
4140
#pragma pop_macro("RN_UMBRELLA_CONTEXT")

‎packages/react-native/ReactCommon/react/renderer/componentregistry/componentNameByReactViewName.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#pragma once
99

10-
#include <react/cxxstableapi/UmbrellaGuard.h>
10+
#include <react/cxxstableapi/PrivateGuard.h>
1111

1212
#include <string>
1313

0 commit comments

Comments
 (0)