chec / commercejs-nextjs-demo-store

Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
https://commercejs-demo-store.netlify.app/
BSD 3-Clause "New" or "Revised" License
1.07k stars 206 forks source link

Bugfix/Hydrated categories and products #63

Closed jaepass closed 4 years ago

jaepass commented 4 years ago

Closes #59

jaepass commented 4 years ago

Thank you Robbie

jaepass commented 4 years ago

niice, this fixed merging client cart and ssr categories and products properly. im still unsure why adding second product item still triggers ADD_TO_CART_ERROR since when it hydrates the second time, states are equal

robbieaverill commented 4 years ago

I'm looking at that now - is that #47 you're talking about?

jaepass commented 4 years ago

yes #47 should i just condense down to one issue since they're related

robbieaverill commented 4 years ago

No I don't think so. This PR fixes #59 so let's merge and leave 47 open