Skip to content

Conversation

@molefrog
Copy link
Owner

@molefrog molefrog commented Dec 1, 2025

Fixes #550 - resolves SSR regression where useSearch() crashes in Node.js environments and ensures proper hydration when client renders <Router> without SSR props.

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

size-limit report 📦

Path Size
packages/wouter/src/index.js 2.19 KB (+0.14% 🔺)
packages/wouter/src/use-browser-location.js 523 B (0%)
packages/wouter/src/memory-location.js 799 B (0%)
packages/wouter/src/use-hash-location.js 720 B (0%)
packages/wouter-preact/src/index.js 2.09 KB (0%)
packages/wouter-preact/src/use-browser-location.js 460 B (0%)
packages/wouter-preact/src/use-hash-location.js 646 B (0%)
packages/wouter-preact/src/memory-location.js 721 B (0%)

@molefrog molefrog merged commit f936107 into v3 Dec 2, 2025
3 checks passed
@molefrog molefrog deleted the fix/ssr-use-search-regression branch December 2, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSR in Node.js fails after upgrading to v3.8.0 - is ssrSearch now required?

2 participants