PoolParty Routing
The PoolParty routing uses the URL to store the state of the UI.
Just like on a website the user can navigate back and forth between views using the browser arrows. Likewise, the user can refresh a page and will load the same view and they can also bookmark any particular view.
This is possible since the whole application is now initially fetched from the server but the routing is performed on the browser. The URL shown in the browser address bar contains the following elements:
the location of the PoolParty server
[https://poolparty-server]
the actual path of the specific view
[app/projectID/tab/menu-item1]
including the actual app, project and all the way down to the specific tab and menu item on that view
This functionality offers several advantages:
users can navigate back and forth simply using the browser arrows
users can share the URL
users experience performance gains as UI components can be loaded in parallel
the URL is the single source of truth providing cleaner architecture and being less prone in becoming out of sync