IssueList.js — react Source File
Architecture documentation for IssueList.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 513aa174_bda6_c910_1f4e_849a0081d359["IssueList.js"] 14dde3c9_48ef_6e34_3667_978d06aff15d["TestCase.js"] 14dde3c9_48ef_6e34_3667_978d06aff15d --> 513aa174_bda6_c910_1f4e_849a0081d359 style 513aa174_bda6_c910_1f4e_849a0081d359 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
const React = window.React;
function csv(string) {
return string.split(/\s*,\s*/);
}
export default function IssueList({issues}) {
if (!issues) {
return null;
}
if (typeof issues === 'string') {
issues = csv(issues);
}
let links = issues.reduce((memo, issue, i) => {
return memo.concat(
i > 0 && i < issues.length ? ', ' : null,
<a href={'https://github.com/facebook/react/issues/' + issue} key={issue}>
{issue}
</a>
);
}, []);
return <span>{links}</span>;
}
Domain
Subdomains
Functions
Imported By
Source
Frequently Asked Questions
What does IssueList.js do?
IssueList.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
What functions are defined in IssueList.js?
IssueList.js defines 2 function(s): IssueList, csv.
What files import IssueList.js?
IssueList.js is imported by 1 file(s): TestCase.js.
Where is IssueList.js in the architecture?
IssueList.js is located at fixtures/dom/src/components/IssueList.js (domain: BabelCompiler, subdomain: Optimization, directory: fixtures/dom/src/components).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free