Skip to content
Compare
Choose a tag to compare
@github-actions github-actions released this 19 Apr 17:58
· 806 commits to v1.x-2022-07 since this release
e8a79d6

Patch Changes

  • #1082 bd14340c Thanks @jplhomer! - Update useUrl() 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