Section E
Search
Predictive search runs through Hydrogen's store (debounce, aborts, stale-response handling) against the same-origin /api/predictive-search handler. Full search reuses the collection browser with q preserved.
Predictive search, search store & autocomplete
Type below to see raw store state and tracking-preserving result URLs from getPredictiveSearchItemUrl().
Real HydrogenMock adapter
- Hydrogen API
PredictiveSearchProviderusePredictiveSearchusePredictiveSearchFormgetPredictiveSearchItemUrlmakePredictiveSearchQueries- Data
- Mock predictive search resolver
- Docs
.claude/skills/hydrogen-predictive-search/SKILL.md
{
"status": "idle",
"error": null,
"term": "",
"total": 0,
"counts": {
"products": 0,
"collections": 0,
"pages": 0,
"articles": 0,
"queries": 0
}
}See it in the store:Full searchNo results