The Wire · Showcase
HYDROGEN SILENT 404S ON REACT ROUTER V7 REDIRECTS
By RepoJournal · Filed · About Shopify
storefrontRedirect broke with React Router v7's Single Fetch protocol, silently killing client-side navigations on redirected URLs.
The Hydrogen redirect handler was watching for the old `?_data=route/id` query param pattern [1] but React Router v7 switched to `.data` pathname suffixes, leaving every client-side redirect dead in the water while full-page navigations still work [2]. This is a silent failure - no errors thrown, just 404s returned to users trying to navigate. Fix ships immediately [2]. In parallel, the Image component was generating wrong descriptor types for fluid images when srcsets landed at exactly three entries [3], causing blur on low-DPR screens [4], and the skeleton line item recursion had a variable shadowing bug [5]. On the CLI side, the autocomplete search throttle is finally being nuked for in-memory filtering [6], killing the 400ms lag in theme selection prompts that devs have felt since forever [7].
One email a day. Unsubscribe in one click.
Keep up with Shopify in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Deploy Hydrogen storefrontRedirect fix immediately - client-side navigations are broken Shopify/hydrogen [immediate]
- → Apply Image component descriptor fix for fluid images in next release Shopify/hydrogen [plan]
- → Merge CLI autocomplete throttle removal before next CLI version Shopify/cli [plan]
References
- [1] fix(hydrogen): storefrontRedirect now works with Single Fetch client-side navigations ↗ Shopify/hydrogen
- [2] fix(hydrogen): storefrontRedirect now works with Single Fetch client-side navigations (#3762) Shopify/hydrogen
- [3] fix: correct Image component descriptor handling for fluid images ↗ Shopify/hydrogen
- [4] fix: correct Image component descriptor handling for fluid images (#3756) Shopify/hydrogen
- [5] fix(skeleton): include line item children recursively (#3753) Shopify/hydrogen
- [6] Skip 400ms search throttle for in-memory autocomplete filtering ↗ Shopify/cli
- [7] Merge pull request #7434 from GeorgiZhelev/autocomplete-faster-local-search Shopify/cli