Storefront Data Hooks & Theme Updates for March 4, 2021
timestamp1614877855416
Theme
Enhancement
Announcement
Developer Blog
Storefront Hooks
1.0.1
Initial public release in support of https://nextjs.org/commerce
1.1.0
Fix useUpdateItem
Fix typo in storefront-data-hooks repo
Add missing types to the
Cart
body
Resolves #22
Login SSO
Accept
options
in theuseLogin
hook to allow Login SSOUpdate Readme with a quick guide of using Login SSO
Allow to get products of different categories
Add a new key to
useSearch
:categoryIds
Stringify
categoryIds
to use as a key in SWRAdd a deprecation warning to
categoryId
Resolves #9
Fix useAddItem
types
Set
variantId
as optional
Resolves #21
Theme
Added improvements focusing on WCAG 2.1 Level AA compliance. To learn how to develop a theme to meet the needs of all users, see Developing Themes for Accessibility.