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
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 itsProvider
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
toSocialMediaGrid
and add video support [commit]
Cleanup:
- Misc minor code cleanup [commit]