Skip to content

v1.10.1 Alleviates Vite HMR error, fixes Mobile Menu products slider page break, minor fixes to products hook, contexts provider and locale, package updates, misc minor updates

Compare
Choose a tag to compare
@jeremyagabriel jeremyagabriel released this 31 Dec 00:28
· 4 commits to main since this release
6e669b6

Fix:

  • Updates the GraphQL imports to alleviate the Vite (from release v1.10.0) HMR error. Previously, saving a change with the GraphQL queries or fragments would log an error in the terminal and the query update would only be observed after restarting localhost. Also separates Pack and Shopify GraphQL queries into separate files as cleanup [commit]
  • Updates MobileMenu products slider to account for invalid products. Previously, an invalid product would break the page [commit]

Minor fix:

  • Ensures useProductsByIds hook returns products in intended order [commit]
  • Separates useContext hooks from its Provider file to alleviate Vite React Refresh error [commit]
  • Accounts for .data prefix when parsing locale from request in server [commit]

Routine:

  • Update @shopify, @remix-run, @vite packages to latest [commit]

Improvement:

  • Changes SocialImagesGrid to SocialMediaGrid and add video support [commit]

Cleanup:

  • Misc minor code cleanup [commit]