Am working with shopping cart, trying to pass $item->rowId as parameter in an event like this
wire:click="$emit(‘removeItem’, {{ $item->rowId }})"
and in my console I get this error
VM205:6 Uncaught SyntaxError: Invalid or unexpected token
at Directive.parseOutMethodAndParams (wire-directives.js:93)
But when I try to pass any integer as parameter is working good
rowId = 027c91341fd5cf4d2579b49c4b6a90da
Any trick please to solve my problem