Introduction
Routing connects web addresses (URLs) to specific code that runs in your app. It helps the app know what to do when someone visits a page.
When you want to show a list of items on a webpage.
When you need to display a form for users to fill out.
When you want to handle a button click that sends data to the server.
When you want to organize your app so each URL does a clear job.
When you want to make your app easy to navigate with meaningful URLs.