mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Comments only. Clarify a few Venice and SVC methods
Summary: Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D33468276 fbshipit-source-id: bcc62ba1e728bba2492dbbbb0e4569285effeca7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
9daae5a5f2
commit
6be46b0bb5
@@ -116,6 +116,7 @@ export function getWithFallback_DEPRECATED<Config>(
|
||||
viewConfigProvider: () => PartialViewConfig,
|
||||
): React.AbstractComponent<Config> {
|
||||
if (getRuntimeConfig == null) {
|
||||
// `getRuntimeConfig == null` when static view configs are disabled
|
||||
// If `setRuntimeConfigProvider` is not configured, use native reflection.
|
||||
if (hasNativeViewConfig(name)) {
|
||||
return get<Config>(name, viewConfigProvider);
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
|
||||
using namespace facebook::react;
|
||||
|
||||
// Allow JS runtime to register native components as needed. For static view configs.
|
||||
void RCTInstallNativeComponentRegistryBinding(facebook::jsi::Runtime &runtime)
|
||||
{
|
||||
auto hasComponentProvider = [](std::string const &name) -> bool {
|
||||
|
||||
Reference in New Issue
Block a user