Client Routing
Client(-side) Routing denotes the practice of implementing page navigation on the client-side: when the user navigates to a new page, instead of completely discarding the current page and requesting the HTML of the new page, the new page is rendered by manipulating the DOM of the current page.
The UI framework Vike extensions
vike-react
/vike-vue
/vike-solid
use Client Routing. If you don't use such Vike extension, then Vike does Server Routing by default while you can opt into Client Routing.
Client Routing enables:
- Faster page navigation.
- Client-side state preserved across navigation.
- Nested Layouts.
- Custom page transition animations.
We further discuss these use cases at Server Routing VS Client Routing > Which one to choose.