Will It Vibe logoWill It Vibe?
REACT-025Low severity-4 points

Props spread straight through to a child (prop drilling marker)

Part of Architecture & Best Practices, which counts for 15% of the overall score. When this check fires it deducts 4 points from that category, once per scan, no matter how many places it turns up.

What it detects

Spreading {...props} onto a child component forwards every prop blindly, which is a common marker of prop drilling: passing data through layers that do not use it. It also leaks unexpected props and makes a component hard to reason about. Heuristic: a spread is sometimes the right call.

Why it matters

Spreading {...props} straight onto a child forwards every incoming prop without naming them, which is a common sign of prop drilling: data threaded through components that do not use it just to reach a deep child. It also risks passing unexpected or invalid props to DOM elements and makes the data flow hard to follow. This is a heuristic, since a deliberate pass-through wrapper is sometimes the right design.

How to fix it

Pass only the props the child actually needs, by name, so the data flow is explicit. If the same data is being threaded through many layers, lift it into React Context or a state manager so intermediate components do not have to forward it. Reserve full spreads for genuine wrapper components.

The paid report includes a ready-to-paste prompt for your AI coding agent for every check it finds, pointed at the exact findings from your scan. See pricing

Does your repo trip this check?

Paste a GitHub URL or drop a project folder. Scans run in your browser and take seconds.

Scan your repo

Related Architecture & Best Practices checks