In plain words
Routing is the set of rules that maps each web address, like /notes or /notes/42, to the page or server code that should answer it.
Where you see it
In Next.js the folders are the routes: app/notes/[id]/page.tsx answers /notes/42 and receives 42 as the id. In a Lovable or Vite app, the routes usually sit together in one file, App.tsx, using React Router.
What goes wrong
- A page that 404s when you refresh it
Single-page apps need a rule telling the host to send every address to index.html. Without it, Netlify or Vercel looks for a real file at /notes/42 and finds nothing.
GET /notes/42 404 (Not Found) - Links still pointing at an old address
The agent renames /settings to /account but leaves three links pointing at the old one. After any rename, ask for a list of every route and every link to it.
- Plain links between your own pages
A regular <a> tag reloads the whole app, so anything in state, like a half-written note, disappears. Use the framework's Link component for pages inside your app.
<a href="/notes">Back to notes</a>
What to tell your agent
Quick check
Sign in to earn +10 XP for itQuill works when you click into a note, but refreshing /notes/42 on Netlify shows "Page not found". Why?