notrab / react-use-cart

React hook library for managing cart state
http://npm.im/react-use-cart
Apache License 2.0
367 stars 48 forks source link

Automatically generate a Cart ID if non provided #28

Closed notrab closed 4 years ago

notrab commented 4 years ago

Right now CartProvider expects an id prop to function.

If no id is provided, we should automatically generate one, but we should also still accept custom cart IDs if someone wants to manage that themselves.

github-actions[bot] commented 4 years ago

:tada: This issue has been resolved in version 1.5.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: