Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 593 Bytes

why_routing.md

File metadata and controls

7 lines (5 loc) · 593 Bytes

Why Routing?

Routing allows us to express some aspects of the app's state in the URL. Unlike with server-side front-end solutions, this is optional - we can build the full app without ever changing the URL. Adding routing, however, allows the user to go straight into certain aspects of the app. This is very convenient as it can keep your application linkable and bookmarkable and allow users to share links with others.

  • Maintain the state of the application
  • Implement modular applications
  • Implement the application based on the roles (certain roles have access to certain URLs)