---
package: "@webjsdev/core"
version: 0.7.3
date: 2026-06-01T12:00:00+05:30
commit_count: 2
---
## Fixes

- **client router no longer intercepts JS-handled links** ([#157](https://github.com/webjsdev/webjs/pull/157)) [`c70860b`](https://github.com/webjsdev/webjs/commit/c70860b)
  The router's click listener ran in the capture phase, ahead of a
  component's own `@click` handler, so a link whose handler calls
  `e.preventDefault()` was still hijacked and SPA-navigated. The listener
  is now registered in the bubble phase, so the router sees
  `event.defaultPrevented` and leaves the link alone. Plain `<a href>`
  links are still SPA-navigated as before.

- **client router no longer intercepts JS-handled forms** ([#151](https://github.com/webjsdev/webjs/pull/151)) [`7d84355`](https://github.com/webjsdev/webjs/commit/7d84355)
  The submit listener had the same capture-phase bug: a form that handles
  submission in JS (`@submit=${e => { e.preventDefault(); ... }}`, the live
  chat and comment boxes) was hijacked by the router, which navigated the
  page and dropped the just-sent message. The submit listener is now a
  bubble listener too, so a preventDefaulted form keeps its submission and
  the router stays out of it.
