Skip to content

Conversation

@YutaUra
Copy link
Contributor

@YutaUra YutaUra commented Jul 25, 2025

related: #447

If you use useSearch without specifying searchHook while using memoryLocation, an error will occur.
Although I understand that specifying searchHook is unnecessary in cases where useSearch is not used, I believe it would be better to include searchHook by default in usage examples to avoid unnecessary confusion for first-time users.

@bolt-new-by-stackblitz
Copy link

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

@molefrog
Copy link
Owner

Hi @YutaUra, thank you for submitting this and sorry for my delayed reply. Good catch!
I will merge this right away.

I've also realised that for better DX, searchHook can be automatically detected based on the hook supplied. I'm planning to work on this feature.

@molefrog molefrog merged commit f1bf6ce into molefrog:v3 Nov 21, 2025
2 checks passed
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.

2 participants