Closed renovate[bot] closed 6 months ago
Latest commit: e3cb716149a235b6aa2fd8e93edfa22d4b93e831
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
This PR contains the following updates:
2.10.0
->2.12.1
Release Notes
molefrog/wouter (wouter)
### [`v2.12.1`](https://togithub.com/molefrog/wouter/compare/v2.12.0...v2.12.1) [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.12.0...v2.12.1) ### [`v2.12.0`](https://togithub.com/molefrog/wouter/compare/v2.11.0...v2.12.0) [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.11.0...v2.12.0) ### [`v2.11.0`](https://togithub.com/molefrog/wouter/releases/tag/v2.11.0): : Better SSR support [Compare Source](https://togithub.com/molefrog/wouter/compare/v2.10.1...v2.11.0) In this version, we are introducing a new prop that you can pass to the top-level Router component: `ssrPath`. The migration to the `useSyncExternalStore` hook in v2.10.0 made it possible for us to use a native way of telling React what the location should be when rendering on the server. Prior to this release, our users had to override the default location hook with `wouter/static-location`, which lacked a nice DX and could cause hydration warnings. We are deprecating the static location hook in favor of the new `ssrPath` prop. Rendering your app on the server is now as easy as: ```js const handleRequest = (req, res) => { // top-level Router is mandatory in SSR mode const prerendered = renderToString(Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.