UpdateExistingIssue.js — react Source File
Architecture documentation for UpdateExistingIssue.js, a javascript file in the react codebase. 5 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR b1d9750c_fd20_7898_0223_46fdfc9cdaf4["UpdateExistingIssue.js"] d067b1e9_9f13_57c9_0078_2aca2499fb52["githubAPI.js"] b1d9750c_fd20_7898_0223_46fdfc9cdaf4 --> d067b1e9_9f13_57c9_0078_2aca2499fb52 21af3248_c15c_a61c_1f5b_7409a91b945c["Icon.js"] b1d9750c_fd20_7898_0223_46fdfc9cdaf4 --> 21af3248_c15c_a61c_1f5b_7409a91b945c f23861b1_8332_6fa9_2862_ddd6110f3776["Icon"] b1d9750c_fd20_7898_0223_46fdfc9cdaf4 --> f23861b1_8332_6fa9_2862_ddd6110f3776 0472dbde_b52b_1be3_6e72_8d4482dc85ee["shared.css"] b1d9750c_fd20_7898_0223_46fdfc9cdaf4 --> 0472dbde_b52b_1be3_6e72_8d4482dc85ee ac587885_e294_a1e9_b13f_5e7b920fdb42["react"] b1d9750c_fd20_7898_0223_46fdfc9cdaf4 --> ac587885_e294_a1e9_b13f_5e7b920fdb42 632dd028_efe6_3846_30ed_2eaf83829007["SuspendingErrorView.js"] 632dd028_efe6_3846_30ed_2eaf83829007 --> b1d9750c_fd20_7898_0223_46fdfc9cdaf4 style b1d9750c_fd20_7898_0223_46fdfc9cdaf4 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 type {GitHubIssue} from './githubAPI';
import * as React from 'react';
import Icon from '../Icon';
import styles from './shared.css';
export default function UpdateExistingIssue({
gitHubIssue,
}: {
gitHubIssue: GitHubIssue,
}): React.Node {
const {title, url} = gitHubIssue;
return (
<div className={styles.GitHubLinkRow}>
<Icon className={styles.ReportIcon} type="bug" />
<div className={styles.UpdateExistingIssuePrompt}>
Update existing issue:
</div>
<a
className={styles.ReportLink}
href={url}
rel="noopener noreferrer"
target="_blank"
title="Report bug">
{title}
</a>
</div>
);
}
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does UpdateExistingIssue.js do?
UpdateExistingIssue.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 UpdateExistingIssue.js?
UpdateExistingIssue.js defines 1 function(s): UpdateExistingIssue.
What does UpdateExistingIssue.js depend on?
UpdateExistingIssue.js imports 5 module(s): Icon, Icon.js, githubAPI.js, react, shared.css.
What files import UpdateExistingIssue.js?
UpdateExistingIssue.js is imported by 1 file(s): SuspendingErrorView.js.
Where is UpdateExistingIssue.js in the architecture?
UpdateExistingIssue.js is located at packages/react-devtools-shared/src/devtools/views/ErrorBoundary/UpdateExistingIssue.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