loading
loading
A path in the app that maps a URL to a page or API handler.
Routes are how a web app decides what code handles /lexique, /profile, or /api/checkout. Page routes return UI; API routes return data or actions. Clear route names make a product easier to navigate, debug, and index.
Plainly
Think of Route as a named building block in a big LEGO app. A path in the app that maps a URL to a page or API handler.
In practice
Use it when you are mapping how the app is structured or explaining a feature to a teammate or agent. In practice, define the owner, input, output, and failure mode before you rely on it.