Pass cart object into completed cart actions prop #2277
Closed
grantkang5
started this conversation in
Ideas + Feature Requests
Replies: 1 comment
-
I don't remember any specific reason. Happy to accept a PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a reason for not passing the cart object into event callbacks provided in
CartProvider
?The callback props in CartProvider help with relaying events to sequence actions like toggling a sidecart drawer. It'd be great if the updated cart object is passed so that we also use it to pass external events or handle third party apis from the client.
Beta Was this translation helpful? Give feedback.
All reactions