notrab / react-use-cart

React hook library for managing cart state

Home Page:http://npm.im/react-use-cart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatically generate a Cart ID if non provided

notrab opened this issue ยท comments

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.

๐ŸŽ‰ This issue has been resolved in version 1.5.0 ๐ŸŽ‰

The release is available on:

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€