> ## Documentation Index
> Fetch the complete documentation index at: https://developer.voyado.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SPA handling

> [!WARNING]
>
> This feature is in **beta**. This means it might at any time be changed, withdrawn from your account, or become part of a paid add-on module. You might also experience interruptions of this service, degradation of user experience or faulty behavior even in critical processes such as automations and sendouts. Voyado welcomes feedback on beta features, and encourages you to try them, but you should *not* build business critical logic on beta features. Only when a feature reaches its full release can you trust it to function reliably with no further breaking changes.

If your site uses client-side routing (single page application), call `reset-widgets` before each navigation and then `load-widgets` after the new content is in the DOM:

```js SPA Handling theme={null}
// Before navigating away
voyado('reset-widgets');

// After new view is rendered
voyado('load-widgets', ['badge', 'reviews']);
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.