What's the most idiomatic way of forwarding an onClick event handler?
Given a
the linter complains that
This is how I'm doing it currently,
Button component that wraps a <button>, what's the best way to forward the onClick handler? Seems handlers can be functions or tuples. When passing the prop directly to the button,the linter complains that
props.onClick is reactive, but handlers are notThis is how I'm doing it currently,
