79461863

Date: 2025-02-23 19:49:33
Score: 1
Natty:
Report link

target can be an eventTarget interface, so you need to check what the target is

<input onInput={({target}) => {
  if (target instanceof HTMLInputElement) {
    onInput(target.value)
  }
}}/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: Anton