@react-native/codegen 0.85.0-nightly-20260223-352d73bef → 0.85.0-nightly-20260225-1813df743
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -133,7 +133,7 @@ export default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL
|
|
|
133
133
|
};
|
|
134
134
|
|
|
135
135
|
// Check whether the native component exists in the app binary.
|
|
136
|
-
// Old getViewManagerConfig() checks for the
|
|
136
|
+
// Old getViewManagerConfig() checks for the existence of the native Paper view manager. Not available in Bridgeless.
|
|
137
137
|
// New hasViewManagerConfig() queries Fabric’s native component registry directly.
|
|
138
138
|
const DeprecatedComponentNameCheckTemplate = ({
|
|
139
139
|
componentName,
|
|
@@ -152,7 +152,7 @@ export default NativeComponentRegistry.get(nativeComponentName, () => __INTERNAL
|
|
|
152
152
|
};
|
|
153
153
|
|
|
154
154
|
// Check whether the native component exists in the app binary.
|
|
155
|
-
// Old getViewManagerConfig() checks for the
|
|
155
|
+
// Old getViewManagerConfig() checks for the existence of the native Paper view manager. Not available in Bridgeless.
|
|
156
156
|
// New hasViewManagerConfig() queries Fabric’s native component registry directly.
|
|
157
157
|
const DeprecatedComponentNameCheckTemplate = ({
|
|
158
158
|
componentName,
|
|
@@ -502,10 +502,10 @@ function buildSchemaFromConfigType(
|
|
|
502
502
|
if (parsingErrors.length > 0) {
|
|
503
503
|
/**
|
|
504
504
|
* TODO(T77968131): We have two options:
|
|
505
|
-
* - Throw the first error, but indicate there are more
|
|
505
|
+
* - Throw the first error, but indicate there are more than one error.
|
|
506
506
|
* - Display all errors, nicely formatted.
|
|
507
507
|
*
|
|
508
|
-
* For the time being, we're just
|
|
508
|
+
* For the time being, we're just throwing the first error.
|
|
509
509
|
**/
|
|
510
510
|
|
|
511
511
|
throw parsingErrors[0];
|
|
@@ -592,10 +592,10 @@ function buildSchemaFromConfigType(
|
|
|
592
592
|
if (parsingErrors.length > 0) {
|
|
593
593
|
/**
|
|
594
594
|
* TODO(T77968131): We have two options:
|
|
595
|
-
* - Throw the first error, but indicate there are more
|
|
595
|
+
* - Throw the first error, but indicate there are more than one error.
|
|
596
596
|
* - Display all errors, nicely formatted.
|
|
597
597
|
*
|
|
598
|
-
* For the time being, we're just
|
|
598
|
+
* For the time being, we're just throwing the first error.
|
|
599
599
|
**/
|
|
600
600
|
|
|
601
601
|
throw parsingErrors[0];
|