RepoJournal
Vue.js

@vuejs

Vue + the surrounding frontend ecosystem

Pick a date

Topics: JavaScript Full archive →

The Wire · Showcase

VITEPRESS REWIRES URL HANDLING FOR CONSISTENCY ACROSS SSR

By RepoJournal · Filed · About Vue.js

The route is now the single source of truth for hash state, eliminating a parallel tracking system that behaved differently on server and client.

VitePress shipped a breaking refactor [1] that consolidates URL hash management into the route object itself, replacing the standalone `useData().hash` ref that maintained its own listener. This fixes a subtle SSR inconsistency where the current URL wasn't observed uniformly across server and client renders. The `isActive()` function now takes hash as an argument instead of reading `location.hash` at call time, making it pure and safe for server-side use. Alongside this, language switching now preserves query parameters [2], so filter state and search queries persist when users change locale. Image path normalization was tightened [3] to keep relative paths cleaner, and the `enhanceApp` hook gained expanded documentation [4] showing more integration patterns for app-level customization.

Action items

References

  1. [1] refactor!: make the route the single source of truth for the URL hash vuejs/vitepress
  2. [2] fix(theme): preserve url params when switching languages (#5312) vuejs/vitepress
  3. [3] refactor: improve relative image path normalization ↗ vuejs/vitepress
  4. [4] docs: improve enhanceApp usecases ↗ vuejs/vitepress

Quick answers

What shipped in Vue.js on July 14, 2026?
The route is now the single source of truth for hash state, eliminating a parallel tracking system that behaved differently on server and client. In total, 4 commits and 3 pull requests landed.
Who contributed to Vue.js on July 14, 2026?
2 developers shipped this update, including Divyansh Singh and bluwy.
What were the notable Vue.js updates?
refactor!: make the route the single source of truth for the URL hash, fix(theme): preserve url params when switching languages (#5312), and refactor: improve relative image path normalization.

More from @vuejs

Daily updates, in your inbox

Follow Vue.js

Vue + the surrounding frontend ecosystem We'll email you a link to confirm first.

Free. Confirm via email. Unsubscribe in one click.

— or follow the whole beat:

Elsewhere on the wire