finds.dev← search

// the find

vercel/nextgram

★ 1,010 · TypeScript · updated Dec 2025

A sample Next.js app showing dynamic routing with modals as a route.

A minimal Next.js demo showing the parallel routes + intercepting routes pattern — the same photo URL renders as a modal when you click from the gallery, but as a standalone page on direct load or refresh. It exists purely as a reference implementation of this specific routing trick. Not a starter template, not a production app.

The parallel routes setup (@modal slot with (.)photos interceptor) is a clean, working example of a pattern that's poorly documented elsewhere. The directory structure itself teaches the concept — you can see exactly how the files map to behavior without reading a word. It's small enough to fully read in 10 minutes.

There's essentially no logic here beyond the routing — no data fetching strategy, no loading/error states, no real component architecture to learn from. The README is three sentences and a deploy button. Stars are inflated by people bookmarking it as a reference rather than actual adoption. If you need this pattern with real constraints (auth, streaming, suspense boundaries), you'll be on your own immediately after copying the file structure.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →