A draggable and resizable grid layout with responsive breakpoints, for React.
This report summarizes scanner evidence for react-grid-layout/react-grid-layout, a TypeScript project with 22,481 GitHub stars. SynthScan examined 121,769 lines of code across 415 source files, recording 1379 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 16.8 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 41 finding(s).
Are imports declared and package/API names verified? 1338 finding(s).
Are wrappers, guards, and repeated structures necessary? 12 finding(s).
Which changes need focused human review? 1379 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1379 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | README.md | 452 | {placeholder && <div className="placeholder" />} | CODE |
| LOW | test/golden-react/recorder.ts | 47 | return `${id ?? "placeholder"}:handle:${axis.replace("react-resizable-handle-", "")}`; | CODE |
| LOW | test/golden-react/recorder.ts | 48 | if (node.classList.contains("react-grid-placeholder")) return "placeholder"; | CODE |
| LOW | …st/golden-react/scenarios/differential.golden-test.tsx | 158 | differences.push("placeholder"); | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 4 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 5 | {"callbacks":[{"eventType":"mousedown","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 6 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 7 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 8 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 9 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …st/golden-react/__golden__/resize-w.prevent.trace.json | 10 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"input":{"kind":"unmount"} | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 4 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 5 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 6 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 7 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 8 | {"callbacks":[],"dom":{"containerHeight":"230px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 9 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 10 | {"callbacks":[],"dom":{"containerHeight":"230px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 11 | {"callbacks":[],"dom":{"containerHeight":"230px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 12 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 13 | {"callbacks":[],"dom":{"containerHeight":"270px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 14 | {"callbacks":[],"dom":{"containerHeight":"270px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 15 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 16 | {"callbacks":[],"dom":{"containerHeight":"270px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …den__/hook-native-gestures.strict-none-hook.trace.json | 17 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"hookState":{"containerHei | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 4 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 5 | {"callbacks":[{"eventType":"mousedown","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 6 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 7 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 8 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 9 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 10 | {"callbacks":[{"eventType":"mousedown","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 11 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 12 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 13 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 14 | {"callbacks":[{"eventType":"mousedown","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 15 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 16 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":2,"i":"a","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …native-gestures.normal-horizontal-component.trace.json | 17 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"input":{"type":"unmount"} | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 4 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 5 | {"callbacks":[],"dom":{"containerHeight":"600px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 6 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 7 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 8 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 9 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 10 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …/__golden__/drag-static-and-bounds.vertical.trace.json | 11 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"input":{"kind":"unmount"} | CODE |
| LOW⚡ | …esponsive-compactor-double-layout-change.v2.trace.json | 4 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …esponsive-compactor-double-layout-change.v2.trace.json | 5 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":1,"i":"a","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …esponsive-compactor-double-layout-change.v2.trace.json | 6 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"input":{"kind":"unmount"} | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 4 | {"callbacks":[{"args":[[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable":{"$u":1},"isResizable": | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 5 | {"callbacks":[{"eventType":"mousedown","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 6 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 7 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 8 | {"callbacks":[{"eventType":"mousemove","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 9 | {"callbacks":[{"eventType":"mouseup","layout":[{"constraints":{"$u":1},"h":2,"i":"b","isBounded":{"$u":1},"isDraggable": | CODE |
| LOW⚡ | …/golden-react/__golden__/resize-ne.absolute.trace.json | 10 | {"callbacks":[],"dom":{"containerHeight":null,"dropping":false,"items":[],"placeholder":null},"input":{"kind":"unmount"} | CODE |
| LOW⚡ | …hook-native-gestures.strict-horizontal-hook.trace.json | 4 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …hook-native-gestures.strict-horizontal-hook.trace.json | 5 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| LOW⚡ | …hook-native-gestures.strict-horizontal-hook.trace.json | 6 | {"callbacks":[],"dom":{"containerHeight":"150px","dropping":false,"items":[{"classNames":["cssTransforms","react-draggab | CODE |
| 1278 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/spec/lifecycle-test.js | 966 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1004 | // Step 2: Move the item around inside the grid (multiple moves) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1020 | // Step 3: Drag leave (move outside the grid without releasing) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1082 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1103 | // Step 2: Move around inside multiple times | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1119 | // Step 3: Drag out | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1164 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1185 | // Step 2: Move around inside | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1201 | // Step 3: Drag out | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1271 | // Step 1: Drag into the grid | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1292 | // Step 2: Move around inside the grid | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1308 | // Step 3: Drag out without releasing (this is where the infinite loop occurred) | COMMENT |
| LOW | rfcs/0001-v2-typescript-rewrite.md | 1431 | // Step 1: Switch import (still using class-like API) | COMMENT |
| LOW | rfcs/0001-v2-typescript-rewrite.md | 1456 | // Step 2: Use hooks for full control | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/spec/lifecycle-test.js | 966 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1004 | // Step 2: Move the item around inside the grid (multiple moves) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1020 | // Step 3: Drag leave (move outside the grid without releasing) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1082 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1103 | // Step 2: Move around inside multiple times | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1119 | // Step 3: Drag out | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1164 | // Step 1: Drag into the grid (creates dropping placeholder) | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1185 | // Step 2: Move around inside | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1201 | // Step 3: Drag out | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1271 | // Step 1: Drag into the grid | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1292 | // Step 2: Move around inside the grid | COMMENT |
| LOW | test/spec/lifecycle-test.js | 1308 | // Step 3: Drag out without releasing (this is where the infinite loop occurred) | COMMENT |
| LOW | src/extras/wrapCompactor.ts | 98 | // For items larger than 1x1, we need to check if the full item fits | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/spec/hooks-test.tsx | 74 | function TestContainerWidthComponent({ | CODE |
| LOW | test/spec/resize-constraints-test.tsx | 199 | function buildNodeWithContainerHeight(containerHeight: number): HTMLElement { | CODE |
| LOW | test/spec/oracles/legacyMoveElement.ts | 125 | export function legacyMoveElementAwayFromCollision( | CODE |
| LOW | rfcs/0001-v2-typescript-rewrite.md | 1342 | export function extractLayoutFromChildren( | CODE |
| LOW | rfcs/0001-v2-typescript-rewrite.md | 1353 | export function synchronizeLayoutWithChildren( | CODE |
| LOW | src/core/layout.ts | 302 | export function moveElementAwayFromCollision( | CODE |
| LOW | src/core/compactors.ts | 35 | export function resolveCompactionCollision( | CODE |
| LOW | src/legacy/ResponsiveReactGridLayout.tsx | 303 | >(function ResponsiveReactGridLayoutForward( | CODE |
| LOW | src/react/components/ResponsiveGridLayout.tsx | 115 | function synchronizeLayoutWithChildren( | CODE |
| LOW | src/react/components/ResponsiveGridLayout.tsx | 509 | >(function ResponsiveGridLayoutForwardRef( | CODE |
| LOW | src/react/components/GridLayout.tsx | 226 | function synchronizeLayoutWithChildren( | CODE |
| LOW | src/react/components/edgeScroll.ts | 43 | export function createEdgeScrollController( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/spec/lifecycle-test.js | 2781 | const dragCall = onDrag.mock.calls[onDrag.mock.calls.length - 1]; | COMMENT |
| LOW | src/react/hooks/useContainerWidth.ts | 161 | let debounceTimer: number | undefined; | COMMENT |