René's URL Explorer Experiment


Title: GitHub - molefrog/wouter: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact

Open Graph Title: GitHub - molefrog/wouter: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact

X Title: GitHub - molefrog/wouter: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact

Description: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact - molefrog/wouter

Open Graph Description: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact - molefrog/wouter

X Description: 🥢 A minimalist-friendly ~2.2KB routing for React and Preact - molefrog/wouter

Opengraph URL: https://github.com/molefrog/wouter

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:0baa8459-802a-0eff-3479-993e5d9e8c8b
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idBA7E:3CAE76:7C53B4C:A0F7CAE:697E6ACC
html-safe-nonce2f7128c5ed3ae78a6458d63bc1b92ecce6024584982745886b25413a15b7bf96
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTdFOjNDQUU3Njo3QzUzQjRDOkEwRjdDQUU6Njk3RTZBQ0MiLCJ2aXNpdG9yX2lkIjoiMzM0MzA2ODEyODQyODk2MDc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac84bbbdef2eab90abb2eb46c61c9368e971ac7e923584a20fafdaf1a37ce4ce0f
hovercard-subject-tagrepository:180418592
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/molefrog/wouter
twitter:imagehttps://repository-images.githubusercontent.com/180418592/b43e36b2-d267-4520-aa48-ffe5aee161a9
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/180418592/b43e36b2-d267-4520-aa48-ffe5aee161a9
og:image:alt🥢 A minimalist-friendly ~2.2KB routing for React and Preact - molefrog/wouter
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6
turbo-cache-controlno-preview
go-importgithub.com/molefrog/wouter git https://github.com/molefrog/wouter.git
octolytics-dimension-user_id671276
octolytics-dimension-user_loginmolefrog
octolytics-dimension-repository_id180418592
octolytics-dimension-repository_nwomolefrog/wouter
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id180418592
octolytics-dimension-repository_network_root_nwomolefrog/wouter
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7c85641c598ad130c74f7bcc27f58575cac69551
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/molefrog/wouter#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmolefrog%2Fwouter
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmolefrog%2Fwouter
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=molefrog%2Fwouter
Reloadhttps://patch-diff.githubusercontent.com/molefrog/wouter
Reloadhttps://patch-diff.githubusercontent.com/molefrog/wouter
Reloadhttps://patch-diff.githubusercontent.com/molefrog/wouter
molefrog https://patch-diff.githubusercontent.com/molefrog
wouterhttps://patch-diff.githubusercontent.com/molefrog/wouter
Please reload this pagehttps://patch-diff.githubusercontent.com/molefrog/wouter
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmolefrog%2Fwouter
Fork 177 https://patch-diff.githubusercontent.com/login?return_to=%2Fmolefrog%2Fwouter
Star 7.7k https://patch-diff.githubusercontent.com/login?return_to=%2Fmolefrog%2Fwouter
npm.im/wouterhttps://npm.im/wouter
Unlicense license https://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/LICENSE
7.7k stars https://patch-diff.githubusercontent.com/molefrog/wouter/stargazers
177 forks https://patch-diff.githubusercontent.com/molefrog/wouter/forks
Branches https://patch-diff.githubusercontent.com/molefrog/wouter/branches
Tags https://patch-diff.githubusercontent.com/molefrog/wouter/tags
Activity https://patch-diff.githubusercontent.com/molefrog/wouter/activity
Star https://patch-diff.githubusercontent.com/login?return_to=%2Fmolefrog%2Fwouter
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fmolefrog%2Fwouter
Code https://patch-diff.githubusercontent.com/molefrog/wouter
Issues 23 https://patch-diff.githubusercontent.com/molefrog/wouter/issues
Pull requests 2 https://patch-diff.githubusercontent.com/molefrog/wouter/pulls
Discussions https://patch-diff.githubusercontent.com/molefrog/wouter/discussions
Actions https://patch-diff.githubusercontent.com/molefrog/wouter/actions
Projects 0 https://patch-diff.githubusercontent.com/molefrog/wouter/projects
Security 0 https://patch-diff.githubusercontent.com/molefrog/wouter/security
Insights https://patch-diff.githubusercontent.com/molefrog/wouter/pulse
Code https://patch-diff.githubusercontent.com/molefrog/wouter
Issues https://patch-diff.githubusercontent.com/molefrog/wouter/issues
Pull requests https://patch-diff.githubusercontent.com/molefrog/wouter/pulls
Discussions https://patch-diff.githubusercontent.com/molefrog/wouter/discussions
Actions https://patch-diff.githubusercontent.com/molefrog/wouter/actions
Projects https://patch-diff.githubusercontent.com/molefrog/wouter/projects
Security https://patch-diff.githubusercontent.com/molefrog/wouter/security
Insights https://patch-diff.githubusercontent.com/molefrog/wouter/pulse
Brancheshttps://patch-diff.githubusercontent.com/molefrog/wouter/branches
Tagshttps://patch-diff.githubusercontent.com/molefrog/wouter/tags
https://patch-diff.githubusercontent.com/molefrog/wouter/branches
https://patch-diff.githubusercontent.com/molefrog/wouter/tags
888 Commitshttps://patch-diff.githubusercontent.com/molefrog/wouter/commits/v3/
https://patch-diff.githubusercontent.com/molefrog/wouter/commits/v3/
.cursor/ruleshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/.cursor/rules
.cursor/ruleshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/.cursor/rules
.githubhttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/.github
.githubhttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/.github
assetshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/assets
assetshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/assets
packageshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/packages
packageshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/packages
specshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/specs
specshttps://patch-diff.githubusercontent.com/molefrog/wouter/tree/v3/specs
.gitattributeshttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/.gitattributes
.gitattributeshttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/.gitattributes
.gitignorehttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/.gitignore
.gitignorehttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/.gitignore
CLAUDE.mdhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/CLAUDE.md
CLAUDE.mdhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/CLAUDE.md
LICENSEhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/LICENSE
LICENSEhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/LICENSE
README.mdhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/README.md
README.mdhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/README.md
bun.lockhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/bun.lock
bun.lockhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/bun.lock
bunfig.tomlhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/bunfig.toml
bunfig.tomlhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/bunfig.toml
package.jsonhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/package.json
package.jsonhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/package.json
tsconfig.jsonhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/tsconfig.json
tsconfig.jsonhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/tsconfig.json
READMEhttps://patch-diff.githubusercontent.com/molefrog/wouter
Unlicense licensehttps://patch-diff.githubusercontent.com/molefrog/wouter
https://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/assets/logo.svg
https://npmjs.org/package/wouter
https://travis-ci.org/molefrog/wouter
https://coveralls.io/github/molefrog/wouter?branch=v3
https://www.npmjs.com/package/wouter
https://pr.new/molefrog/wouter
https://patch-diff.githubusercontent.com/molefrog/wouter#features
https://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/assets/wouter.svg
React Routerhttps://github.com/ReactTraining/react-router
Preacthttps://preactjs.com/
"Preact support" sectionhttps://patch-diff.githubusercontent.com/molefrog/wouter#preact-support
React Routerhttps://github.com/ReactTraining/react-router
Routehttps://patch-diff.githubusercontent.com/molefrog/wouter#route-pathpattern-
Linkhttps://patch-diff.githubusercontent.com/molefrog/wouter#link-hrefpath-
Switchhttps://patch-diff.githubusercontent.com/molefrog/wouter#switch-
Redirecthttps://patch-diff.githubusercontent.com/molefrog/wouter#redirect-topath-
useLocationhttps://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
useRoutehttps://patch-diff.githubusercontent.com/molefrog/wouter#useroute-route-matching-and-parameters
useRouterhttps://patch-diff.githubusercontent.com/molefrog/wouter#userouter-accessing-the-router-object
https://patch-diff.githubusercontent.com/molefrog/wouter#developers-sparkling_heart-wouter
Matt Miller, An exhaustive React ecosystem for 2020https://medium.com/@mmiller42/an-exhaustive-react-guide-for-2020-7859f0bddc56
Ultrahttps://ultrajs.dev/
React-three-fiberhttps://github.com/react-spring/react-three-fiber
Sunmao UIhttps://sunmao-ui.com/
Millionhttps://million.dev/
https://patch-diff.githubusercontent.com/molefrog/wouter#table-of-contents
Getting Startedhttps://patch-diff.githubusercontent.com/molefrog/wouter#getting-started
Browser Supporthttps://patch-diff.githubusercontent.com/molefrog/wouter#browser-support
Wouter APIhttps://patch-diff.githubusercontent.com/molefrog/wouter#wouter-api
The list of methods availablehttps://patch-diff.githubusercontent.com/molefrog/wouter#the-list-of-methods-available
Hooks APIhttps://patch-diff.githubusercontent.com/molefrog/wouter#hooks-api
useRoute: route matching and parametershttps://patch-diff.githubusercontent.com/molefrog/wouter#useroute-route-matching-and-parameters
useLocation: working with the historyhttps://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
Additional navigation parametershttps://patch-diff.githubusercontent.com/molefrog/wouter#additional-navigation-parameters
Customizing the location hookhttps://patch-diff.githubusercontent.com/molefrog/wouter#customizing-the-location-hook
useParams: extracting matched parametershttps://patch-diff.githubusercontent.com/molefrog/wouter#useparams-extracting-matched-parameters
useSearch: query stringshttps://patch-diff.githubusercontent.com/molefrog/wouter#usesearch-query-strings
useSearchParams: search parametershttps://patch-diff.githubusercontent.com/molefrog/wouter#usesearchparams-search-parameters
useRouter: accessing the router objecthttps://patch-diff.githubusercontent.com/molefrog/wouter#userouter-accessing-the-router-object
Component APIhttps://patch-diff.githubusercontent.com/molefrog/wouter#component-api
https://patch-diff.githubusercontent.com/molefrog/wouter#route-pathpattern-
Route nestinghttps://patch-diff.githubusercontent.com/molefrog/wouter#route-nesting
https://patch-diff.githubusercontent.com/molefrog/wouter#link-hrefpath-
https://patch-diff.githubusercontent.com/molefrog/wouter#switch-
https://patch-diff.githubusercontent.com/molefrog/wouter#redirect-topath-
https://patch-diff.githubusercontent.com/molefrog/wouter#router-hookhook-parserfn-basebasepath-hrefsfn-
FAQ and Code Recipeshttps://patch-diff.githubusercontent.com/molefrog/wouter#faq-and-code-recipes
I deploy my app to the subfolder. Can I specify a base path?https://patch-diff.githubusercontent.com/molefrog/wouter#i-deploy-my-app-to-the-subfolder-can-i-specify-a-base-path
How do I make a default route?https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-default-route
How do I make a link active for the current route?https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-link-active-for-the-current-route
Are strict routes supported?https://patch-diff.githubusercontent.com/molefrog/wouter#are-strict-routes-supported
Are relative routes and links supported?https://patch-diff.githubusercontent.com/molefrog/wouter#are-relative-routes-and-links-supported
Can I initiate navigation from outside a component?https://patch-diff.githubusercontent.com/molefrog/wouter#can-i-initiate-navigation-from-outside-a-component
Can I use wouter in my TypeScript project?https://patch-diff.githubusercontent.com/molefrog/wouter#can-i-use-wouter-in-my-typescript-project
How can add animated route transitions?https://patch-diff.githubusercontent.com/molefrog/wouter#how-can-add-animated-route-transitions
How do I add view transitions to my app?https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-add-view-transitions-to-my-app
Preact support?https://patch-diff.githubusercontent.com/molefrog/wouter#preact-support
Server-side Rendering support (SSR)?https://patch-diff.githubusercontent.com/molefrog/wouter#server-side-rendering-support-ssr
How do I configure the router to render a specific route in tests?https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-configure-the-router-to-render-a-specific-route-in-tests
1KB is too much, I can't afford it!https://patch-diff.githubusercontent.com/molefrog/wouter#1kb-is-too-much-i-cant-afford-it
Acknowledgementshttps://patch-diff.githubusercontent.com/molefrog/wouter#acknowledgements
https://patch-diff.githubusercontent.com/molefrog/wouter#getting-started
npm i wouter-preacthttps://patch-diff.githubusercontent.com/molefrog/wouter#preact-support
https://patch-diff.githubusercontent.com/molefrog/wouter#browser-support
https://patch-diff.githubusercontent.com/molefrog/wouter#wouter-api
FAQ and Code Recipeshttps://patch-diff.githubusercontent.com/molefrog/wouter#faq-and-code-recipes
https://patch-diff.githubusercontent.com/molefrog/wouter#the-list-of-methods-available
import { useBrowserLocation } from "wouter/use-browser-location"https://github.com/molefrog/wouter/blob/v3/packages/wouter/src/use-browser-location.js
import { useHashLocation } from "wouter/use-hash-location"https://github.com/molefrog/wouter/blob/v3/packages/wouter/src/use-hash-location.js
import { memoryLocation } from "wouter/memory-location"https://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
testinghttps://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-configure-the-router-to-render-a-specific-route-in-tests
useRoutehttps://patch-diff.githubusercontent.com/molefrog/wouter#useroute-the-power-of-hooks
useLocationhttps://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
useParamshttps://patch-diff.githubusercontent.com/molefrog/wouter#useparams-extracting-matched-parameters
useSearchhttps://patch-diff.githubusercontent.com/molefrog/wouter#usesearch-query-strings
useRouterhttps://patch-diff.githubusercontent.com/molefrog/wouter#userouter-accessing-the-router-object
https://patch-diff.githubusercontent.com/molefrog/wouter#route-pathpattern-
https://patch-diff.githubusercontent.com/molefrog/wouter#link-hrefpath-
https://patch-diff.githubusercontent.com/molefrog/wouter#switch-
https://patch-diff.githubusercontent.com/molefrog/wouter#redirect-topath-
https://patch-diff.githubusercontent.com/molefrog/wouter#router-hookhook-matchermatchfn-basebasepath-
https://patch-diff.githubusercontent.com/molefrog/wouter#hooks-api
https://patch-diff.githubusercontent.com/molefrog/wouter#useroute-route-matching-and-parameters
regexparamhttps://github.com/lukeed/regexparam
https://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
https://patch-diff.githubusercontent.com/molefrog/wouter#additional-navigation-parameters
https://patch-diff.githubusercontent.com/molefrog/wouter#customizing-the-location-hook
https://patch-diff.githubusercontent.com/molefrog/wouter#useparams-extracting-matched-parameters
matching dynamic segmentshttps://patch-diff.githubusercontent.com/molefrog/wouter#matching-dynamic-segments
https://patch-diff.githubusercontent.com/molefrog/wouter#usesearch-query-strings
Server-Side Renderinghttps://patch-diff.githubusercontent.com/molefrog/wouter#server-side-rendering-support-ssr
https://patch-diff.githubusercontent.com/molefrog/wouter#usesearchparams-search-parameters
https://patch-diff.githubusercontent.com/molefrog/wouter#userouter-accessing-the-router-object
https://patch-diff.githubusercontent.com/molefrog/wouter#component-api
https://patch-diff.githubusercontent.com/molefrog/wouter#route-pathpattern-
useRoutehttps://patch-diff.githubusercontent.com/molefrog/wouter#useroute-route-matching-and-parameters
https://patch-diff.githubusercontent.com/molefrog/wouter#route-nesting
https://patch-diff.githubusercontent.com/molefrog/wouter#link-hrefpath-
active links herehttps://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-link-active-for-the-current-route
https://patch-diff.githubusercontent.com/molefrog/wouter#switch-
FAQ and Code Recipes sectionhttps://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-default-route
https://patch-diff.githubusercontent.com/molefrog/wouter#redirect-topath-
customizing how navigation will be performedhttps://patch-diff.githubusercontent.com/molefrog/wouter#additional-navigation-parameters
useLocation hook insteadhttps://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
https://patch-diff.githubusercontent.com/molefrog/wouter#router-hookhook-parserfn-basebasepath-hrefsfn-
useRouter hookhttps://patch-diff.githubusercontent.com/molefrog/wouter#userouter-accessing-the-router-object
useLocation() hookhttps://patch-diff.githubusercontent.com/molefrog/wouter#uselocation-working-with-the-history
Customizing the location hookhttps://patch-diff.githubusercontent.com/molefrog/wouter#customizing-the-location-hook
current search stringhttps://patch-diff.githubusercontent.com/molefrog/wouter#usesearch-query-strings
See the FAQhttps://patch-diff.githubusercontent.com/molefrog/wouter#are-relative-routes-and-links-supported
parsehttps://github.com/lukeed/regexparam?tab=readme-ov-file#regexparamparseinput-regexp
this examplehttps://patch-diff.githubusercontent.com/molefrog/wouter#are-strict-routes-supported
rendering your app on the serverhttps://patch-diff.githubusercontent.com/molefrog/wouter#server-side-rendering-support-ssr
view transitionshttps://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-add-view-transitions-to-my-app
https://patch-diff.githubusercontent.com/molefrog/wouter#faq-and-code-recipes
https://patch-diff.githubusercontent.com/molefrog/wouter#i-deploy-my-app-to-the-subfolder-can-i-specify-a-base-path
https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-default-route
▶ Demo Sandboxhttps://codesandbox.io/s/wouter-v3-ts-8q532r
https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-make-a-link-active-for-the-current-route
▶ Demo Sandboxhttps://codesandbox.io/s/wouter-v3-ts-8q532r?file=/src/ActiveLink.tsx
https://patch-diff.githubusercontent.com/molefrog/wouter#are-strict-routes-supported
parsehttps://github.com/lukeed/regexparam?tab=readme-ov-file#regexparamparseinput-regexp
path-to-regexphttps://github.com/pillarjs/path-to-regexp
▶ Demo Sandboxhttps://codesandbox.io/p/sandbox/wouter-v3-strict-routes-w3xdtz
https://patch-diff.githubusercontent.com/molefrog/wouter#are-relative-routes-and-links-supported
▶ Demo Sandboxhttps://codesandbox.io/p/sandbox/wouter-v3-nested-routes-l8p23s
https://patch-diff.githubusercontent.com/molefrog/wouter#can-i-initiate-navigation-from-outside-a-component
https://patch-diff.githubusercontent.com/molefrog/wouter#can-i-use-wouter-in-my-typescript-project
https://patch-diff.githubusercontent.com/molefrog/wouter#how-can-add-animated-route-transitions
framer-motionhttps://patch-diff.githubusercontent.com/molefrog/wouter/blob/v3/framer.com/motion
this issuehttps://github.com/molefrog/wouter/issues/414#issuecomment-1954192679
https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-use-wouter-with-view-transitions-api
View Transitions APIhttps://developer.mozilla.org/en-US/docs/Web/API/View_Transitions_API
https://patch-diff.githubusercontent.com/molefrog/wouter#preact-support
Preact Xhttps://github.com/preactjs/preact/releases/tag/10.0.0-alpha.0
▶ Demo Sandboxhttps://codesandbox.io/s/wouter-preact-0lr3n
https://patch-diff.githubusercontent.com/molefrog/wouter#server-side-rendering-support-ssr
▶ Demohttps://github.com/molefrog/wultra
https://patch-diff.githubusercontent.com/molefrog/wouter#how-do-i-configure-the-router-to-render-a-specific-route-in-tests
https://patch-diff.githubusercontent.com/molefrog/wouter#1kb-is-too-much-i-cant-afford-it
https://patch-diff.githubusercontent.com/molefrog/wouter#contributing
https://patch-diff.githubusercontent.com/molefrog/wouter#acknowledgements
Katya Simachevahttps://simachevakatya.com/
Katya Vakulenkohttps://katyavakulenko.com/
@jeetisshttps://github.com/jeetiss
contributorshttps://github.com/molefrog/wouter/graphs/contributors
npm.im/wouterhttps://npm.im/wouter
react https://patch-diff.githubusercontent.com/topics/react
typescript https://patch-diff.githubusercontent.com/topics/typescript
router https://patch-diff.githubusercontent.com/topics/router
preact https://patch-diff.githubusercontent.com/topics/preact
react-router https://patch-diff.githubusercontent.com/topics/react-router
zero-dependency https://patch-diff.githubusercontent.com/topics/zero-dependency
hacktoberfest https://patch-diff.githubusercontent.com/topics/hacktoberfest
microlibrary https://patch-diff.githubusercontent.com/topics/microlibrary
react-hooks https://patch-diff.githubusercontent.com/topics/react-hooks
Readme https://patch-diff.githubusercontent.com/molefrog/wouter#readme-ov-file
Unlicense license https://patch-diff.githubusercontent.com/molefrog/wouter#Unlicense-1-ov-file
Please reload this pagehttps://patch-diff.githubusercontent.com/molefrog/wouter
Activityhttps://patch-diff.githubusercontent.com/molefrog/wouter/activity
7.7k starshttps://patch-diff.githubusercontent.com/molefrog/wouter/stargazers
37 watchinghttps://patch-diff.githubusercontent.com/molefrog/wouter/watchers
177 forkshttps://patch-diff.githubusercontent.com/molefrog/wouter/forks
Report repository https://patch-diff.githubusercontent.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fmolefrog%2Fwouter&report=molefrog+%28user%29
Releases 34https://patch-diff.githubusercontent.com/molefrog/wouter/releases
View Transitions Latest Dec 18, 2025 https://patch-diff.githubusercontent.com/molefrog/wouter/releases/tag/v3.9.0
+ 33 releaseshttps://patch-diff.githubusercontent.com/molefrog/wouter/releases
Please reload this pagehttps://patch-diff.githubusercontent.com/molefrog/wouter
Learn more about GitHub Sponsorshttps://patch-diff.githubusercontent.com/sponsors
Please reload this pagehttps://patch-diff.githubusercontent.com/molefrog/wouter
Contributors 54https://patch-diff.githubusercontent.com/molefrog/wouter/graphs/contributors
Please reload this pagehttps://patch-diff.githubusercontent.com/molefrog/wouter
+ 40 contributorshttps://patch-diff.githubusercontent.com/molefrog/wouter/graphs/contributors
TypeScript 87.6% https://patch-diff.githubusercontent.com/molefrog/wouter/search?l=typescript
JavaScript 11.9% https://patch-diff.githubusercontent.com/molefrog/wouter/search?l=javascript
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.