demo-store@2.0.0
Major Changes
-
Add
.envfile to Remix watcher to allow reloading environment variables on file save. Inremix.config.js: (#997) by @frandiox-watchPaths: ['./public'], +watchPaths: ['./public', './.env'],
Patch Changes
-
Function and component for cart management: (#786) by @wizardlyhel
createCartHandler- Creates an object instance that simplifies cart operations such as add/update/remove from cart.CartForm- A form component that helps you sets up form inputs for cart handler.
Documentation:
- Updated how-to guides
createCartHandlerCartForm
-
Fix demostore to check for
shop.primaryDomainhost for navigation menu items. (#1036) by @rista404 -
Fix empty discount code (#1104) by @wizardlyhel
-
Add a
<VariantSelector>component to make building product forms easier. Also addedgetFirstAvailableVariantandgetSelectedProductOptionshelper functions. See the proposal for examples. (#1027) by @blittle -
Add @total-typescript/ts-reset to demo-store and skeleton templates (#1042) by @juanpprieto
-
Updated dependencies [
4c0858f2,c39411e0,dc56d296,2a036d72,667ea4fb,ed9782bc,4bee03df,11ab64a8,9482bc59,31409877,00f3e592,4db61421,5530d987,63d17266,5530d987,1befd365,945fdc57]:- @Shopify/hydrogen@2024.0.0
- @shopify/cli-hydrogen@6.0.0