Home / Function/ SnapshotCommitList() — react Function Reference

SnapshotCommitList() — react Function Reference

Architecture documentation for the SnapshotCommitList() function in SnapshotCommitList.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  be84ff73_f936_f0a0_527b_3468b101ca1f["SnapshotCommitList()"]
  76384bd4_08c7_de17_1f91_2937028def49["SnapshotCommitList.js"]
  be84ff73_f936_f0a0_527b_3468b101ca1f -->|defined in| 76384bd4_08c7_de17_1f91_2937028def49
  style be84ff73_f936_f0a0_527b_3468b101ca1f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js lines 45–71

export default function SnapshotCommitList({
  commitData,
  commitTimes,
  filteredCommitIndices,
  selectedCommitIndex,
  selectedFilteredCommitIndex,
  selectCommitIndex,
  totalDurations,
}: Props): React.Node {
  return (
    <AutoSizer>
      {({height, width}) => (
        <List
          commitData={commitData}
          commitTimes={commitTimes}
          height={height}
          filteredCommitIndices={filteredCommitIndices}
          selectedCommitIndex={selectedCommitIndex}
          selectedFilteredCommitIndex={selectedFilteredCommitIndex}
          selectCommitIndex={selectCommitIndex}
          totalDurations={totalDurations}
          width={width}
        />
      )}
    </AutoSizer>
  );
}

Domain

Subdomains

Frequently Asked Questions

What does SnapshotCommitList() do?
SnapshotCommitList() is a function in the react codebase, defined in packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js.
Where is SnapshotCommitList() defined?
SnapshotCommitList() is defined in packages/react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js at line 45.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free