I have created a very simple react app.
export default function App() {
return (
<div className="App">
<input
type="text"
onKeyDown={(event) => console.log(event.target.value)}
/>
</div>
);
}
The onKeyDown
event gets triggered as expected. However, I can't see the element listener in the chrome dev tools. How can I see it there?
https://codesandbox.io/s/boring-silence-1jruof?file=/src/App.js