arrow_backBACK TO DRILLS
Black BeltnextjsPREMIUM
The Catch-All That Caught Too Much
This catch-all segment is intended to handle only unmatched user-facing paths, but it also intercepts requests for Next.js's own internal static chunk files under /_next/. Why does this happen?
REACT_MODULE // 0x42
// app/[...urlParts]/page.tsx
export default function CatchAll({ params }) {
return <div>Path: {params.urlParts.join('/')}</div>;
}