Skip to content

Bump wouter-preact from 3.8.1 to 3.10.0#2168

Merged
Elimpizza merged 1 commit into
mainfrom
dependabot/npm_and_yarn/wouter-preact-3.9.0
Jun 1, 2026
Merged

Bump wouter-preact from 3.8.1 to 3.10.0#2168
Elimpizza merged 1 commit into
mainfrom
dependabot/npm_and_yarn/wouter-preact-3.9.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 22, 2025

Copy link
Copy Markdown
Contributor

Bumps wouter-preact from 3.8.1 to 3.10.0.

Release notes

Sourced from wouter-preact's releases.

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:

<Link href="/products/123" transition>View Product</Link>

See the https://github.com/molefrog/wouter#how-do-i-use-wouter-with-view-transitions-api for more details.

Magazin Example

We're also releasing Magazin, a modern e-commerce demo showcasing wouter with:

  • Server-side rendering with Bun
  • View Transitions
  • React 19 support
  • Full TypeScript
  • Redirects, 404 pages, search parameters, state and more wouter features used

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Dec 22, 2025
@Elimpizza

Copy link
Copy Markdown

@dependabot rebase

Bumps [wouter-preact](https://github.com/molefrog/wouter) from 3.8.1 to 3.10.0.
- [Release notes](https://github.com/molefrog/wouter/releases)
- [Commits](https://github.com/molefrog/wouter/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump wouter-preact from 3.8.1 to 3.9.0 Bump wouter-preact from 3.8.1 to 3.10.0 Jun 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/wouter-preact-3.9.0 branch from 4eebb28 to 0a89b62 Compare June 1, 2026 12:59
@Elimpizza Elimpizza merged commit 1b352cc into main Jun 1, 2026
1 check passed
@Elimpizza Elimpizza deleted the dependabot/npm_and_yarn/wouter-preact-3.9.0 branch June 1, 2026 13:00
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.

1 participant