Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can access the `nativeEvent` property on the event object[0] if you prefer

[0]: https://react.dev/reference/react-dom/components/common#reac...



Doesn't solve this problem. "change" fires at different times from "input". `nativeEvent` is useful if you want the real event data object for the event that actually fired. In this case, it's a whole other event.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: