Skip to content

FAQ

Common questions: route vs path, REST design, catch-all.

Route vs path?

Path is the URL part; route is the (method + pattern + handler) triple.

File-based vs config-based?

File-based is convention-over-config (Next.js, Hugo); config-based is explicit (Express, Rails).

When to use wildcards?

Only for intentional catch-alls (/admin/{path*}), never as default.

How many routes max?

No hard limit; keep it under 500 for maintainability.