Skip to content

chore(deps): bump wouter from 3.3.5 to 3.11.0 - #16

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/wouter-3.11.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/wouter-3.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 15, 2026

Copy link
Copy Markdown
Contributor

Bumps wouter from 3.3.5 to 3.11.0.

Release notes

Sourced from wouter's releases.

Routing fixes and performance improvements

Wouter 3.11.0 improves routing behavior, reduces runtime overhead, and expands Link asChild props and TypeScript support. Available for both wouter and wouter-preact.

  • Support absolute useRoute("~/...") patterns inside routers with a base path. (#244)
  • Forward props such as style, aria-*, className, and refs through Link asChild, preserving the child's class name and ref when omitted on Link. Update the React and Preact declarations accordingly. (#536)
  • Notify browser-location subscribers together during navigation. (#556)
  • Allow an explicit ? to clear the query string during hash navigation. (#473)
  • Avoid URLSearchParams.size for compatibility with older supported browsers. (#567)
  • Reduce allocations in routing and memory-location subscriptions, and remove the mitt dependency.
  • Preserve memory-location updates when returning to an earlier pathname or query in React 18 components that synchronize state during rendering.

Changes since the published 3.10.0 source: molefrog/wouter@708c236...v3.11.0

View Transitions

wouter just crossed 3M downloads/month! To celebrate, this release adds support for the View Transitions API.

How to enable View Transitions

Since view transitions require synchronous DOM rendering and must be wrapped in flushSync from react-dom (wouter doesn't depend on it), you will have you manually enable this with just a few lines of code.

To enable view transitions, use the new aroundNav callback on the Router component:

import { flushSync } from "react-dom";
import { Router, type AroundNavHandler } from "wouter";
const aroundNav: AroundNavHandler = (navigate, to, options) => {
if (!document.startViewTransition) {
// check if supported
navigate(to, options);
return;
}
document.startViewTransition(() => {
flushSync(() => {
navigate(to, options);
});
});
};
const App = () => (
<Router aroundNav={aroundNav}>
{/* Your routes */}
</Router>
);

You can also enable transitions selectively using the transition prop:

</tr></table> 

... (truncated)

Commits
  • 25269db v3.11.0
  • 280ce52 fix: preserve React 18 memory location updates
  • d3711ad perf: reduce routing fix overhead and correct size comparisons
  • 2c400c4 fix: support absolute useRoute patterns across bases (#244)
  • 58e4997 docs: specify the strict parser dependency version (#563)
  • 00a3737 docs: explain React ViewTransition compatibility (#559)
  • 1812679 docs: clarify navigation interception limits (#452)
  • 330cf66 fix: allow explicit empty search in hash navigation (#473)
  • 26b5cba fix: notify browser location subscribers together (#556)
  • fd08981 fix: forward Link asChild props (#536)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [wouter](https://github.com/molefrog/wouter) from 3.3.5 to 3.11.0.
- [Release notes](https://github.com/molefrog/wouter/releases)
- [Commits](molefrog/wouter@v3.3.5...v3.11.0)

---
updated-dependencies:
- dependency-name: wouter
  dependency-version: 3.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 15, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants