Assuming that I trigger events on the following ref(\'/users/{userId}/items/{newItem}\') I want to get a value from inside the wildcard userId
ref(\'/users/{userId}/items/{newItem}\')
userId
You can find wildcard values like this
wildCardValue = context.params.wildCardName