github-actions
released this
19 Apr 17:58
·
806 commits
to v1.x-2022-07
since this release
Patch Changes
-
#1082
bd14340c
Thanks @jplhomer! - UpdateuseUrl()
to allow a developer to subscribe to a reactive version of the current router location.Example:
import {useUrl} from '@shopify/hydrogen/client'; function MyClientComponent() { const url = useUrl(); useEffect(() => { // Record navigation, analytics, etc }, [url]); }
-
#1075
05dea552
Thanks @jplhomer! - Properly set buyer IP and secret token for API Route queryShop helper