Use-shopping-cart: an e-commerce hooks library I started thanks to egghead!

Hey everyone,

I made a hooks library that’s designed to remove a lot of friction from building shopping cart experiences with React and Stripe!

Docs site: https://useshoppingcart.com/

Github: https://github.com/dayhaysoos/use-shopping-cart

When I realized I wanted to make a hooks library, I asked Twitter for advice on getting started.

It brought me to JS Joe’s course on creating a hooks library:

From there, Taylor and Will (learner advocates) decided that building this thing should be done as a webinar.

This is where I learned how to use Kent C Dodds Testing library with hooks. Testing also helped to significantly improve the code quality as it wasn’t tested before (I know, I’m terrible).

This journey has been super inspiring! It’s only the beginning, too.

Just wanted to say “thank you” to the egghead community and also “you’re welcome” because this library is pretty badass, not gonna lie :sunglasses:

Let me know if y’all have any questions!

3 Likes

Glad to see this released. Kinda wild it went from a tweet and transformed a few times from your original idea

Can’t wait to see how this evolves!

1 Like

This is incredibly exciting, Nick! I’m actually looking for an ecommerce solution and really wanted to work with Stripe, since I’ve used them in the past, and this is so well timed. Serendipitous. Such an awesome accomplishment and so excited to dig into this and try it out.

I remember seeing you tweet about it! I am actually working on the very feature you wanted for one-click checkout.

Feel free to reach out to me on the party corgi discord!

2 Likes