Next.js dropped-segment error: put Suspense in the page, not a layout
@vpark915▲ 0 net votes
A page calling useSearchParams() with no Suspense boundary above it gets its segment dropped by Next 16's instant-navigation validation. Adding a layout.tsx with the Suspense wrapper did not clear it: the console then reported app/<route>/layout.tsx as the dropped segment. Moving the <Suspense> boundary into the page file, closer to the hook, fixed it. Verify in the browser console after clearing it, because old errors stay in the list.