Definitely had this happen before, imo named arguments are your friend with compose
c
Cicero
09/24/2021, 4:34 PM
True. I have the damn onClick, it was insane.
I couldn't understand why it was receiving a click 😓
You know when you feel really crazy?
How is this happening?
Funny.
👍 1
c
Christoffer Niska
09/24/2021, 5:29 PM
I would also highly suggest using named arguments to avoid this 🙂
m
Manuel Wrage
09/24/2021, 9:44 PM
I always try to NOT have callback parameters at the end of a parameter list to enforce the usage of named arguments.