A function that does nothing. Useful as a default callback or placeholder.
const onClick = noop // no-op handlerelement.addEventListener("click", noop) Copy
const onClick = noop // no-op handlerelement.addEventListener("click", noop)
A function that does nothing. Useful as a default callback or placeholder.