UnsupportedBridgeOperationView.js — react Source File
Architecture documentation for UnsupportedBridgeOperationView.js, a javascript file in the react codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 207cc4ae_0d1a_5993_ca8b_89b3990f02d3["UnsupportedBridgeOperationView.js"] 0472dbde_b52b_1be3_6e72_8d4482dc85ee["shared.css"] 207cc4ae_0d1a_5993_ca8b_89b3990f02d3 --> 0472dbde_b52b_1be3_6e72_8d4482dc85ee ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] 207cc4ae_0d1a_5993_ca8b_89b3990f02d3 --> ac587885_e294_a1e9_b13f_5e7b920fdb42 5ae46b4f_0f17_18a6_3def_6dc95832bf63["ErrorBoundary.js"] 5ae46b4f_0f17_18a6_3def_6dc95832bf63 --> 207cc4ae_0d1a_5993_ca8b_89b3990f02d3 style 207cc4ae_0d1a_5993_ca8b_89b3990f02d3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow
*/
import * as React from 'react';
import styles from './shared.css';
type Props = {
callStack: string | null,
children: React$Node,
componentStack: string | null,
errorMessage: string | null,
};
export default function UnsupportedBridgeOperationView({
callStack,
children,
componentStack,
errorMessage,
}: Props): React.Node {
return (
<div className={styles.ErrorBoundary}>
{children}
<div className={styles.ErrorInfo}>
<div className={styles.HeaderRow}>
<div className={styles.ErrorHeader}>
{errorMessage || 'Bridge protocol mismatch'}
</div>
</div>
<div className={styles.InfoBox}>
An incompatible version of <code>react-devtools-core</code> has been
embedded in a renderer like React Native. To fix this, update the{' '}
<code>react-devtools-core</code> package within the React Native
application, or downgrade the <code>react-devtools</code> package you
use to open the DevTools UI.
</div>
{!!callStack && (
<div className={styles.ErrorStack}>
The error was thrown {callStack.trim()}
</div>
)}
</div>
</div>
);
}
Domain
Subdomains
Functions
Dependencies
- react
- shared.css
Source
Frequently Asked Questions
What does UnsupportedBridgeOperationView.js do?
UnsupportedBridgeOperationView.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in UnsupportedBridgeOperationView.js?
UnsupportedBridgeOperationView.js defines 1 function(s): UnsupportedBridgeOperationView.
What does UnsupportedBridgeOperationView.js depend on?
UnsupportedBridgeOperationView.js imports 2 module(s): react, shared.css.
What files import UnsupportedBridgeOperationView.js?
UnsupportedBridgeOperationView.js is imported by 1 file(s): ErrorBoundary.js.
Where is UnsupportedBridgeOperationView.js in the architecture?
UnsupportedBridgeOperationView.js is located at packages/react-devtools-shared/src/devtools/views/ErrorBoundary/UnsupportedBridgeOperationView.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-devtools-shared/src/devtools/views/ErrorBoundary).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free