Storefront API's createCart() and Hydrogen useCart()

Hello!

I’m using the Storefront API’s createCart() to manually create a cart. In my app, I’m also using Hydrogen. Its useCart() hook returns a null id after the manual creation of the cart.

In fact, when I put a console.log on the CartProvider’s onCreate function, nothing gets consoled.

Of course, I don’t have any of these issues when I use the AddToCart component that comes with Hydrogen.

Thank You!