Internal navigation in the Clasp component can be handled in a few ways. Depending on where and what parts of the Component you want to surface to your users, this guide will walk you through how to achieve them.Documentation Index
Fetch the complete documentation index at: https://docs.withclasp.com/llms.txt
Use this file to discover all available pages before exploring further.
1) Query Parameter
The benefit of using a query param is that it leverages the browser history allowing native navigation2) State Based
You can also treat the clasp-components as a controlled component by passing aclaspState variable and an onChangeState function to listen for page state changes.
It’s best to opt for the Query Parameter option to leverage the browser’s native navigation system.