title: Replacement for deprecated `keypress` DOM event
body: <p>According to <a href="https://developer.mozilla.org/en-US/docs/Web/Events/keypress" rel="noreferrer">MDN article</a> <code>keypress</code> event is deprecated:</p>
  
  <p><a href="https://i.stack.imgur.com/5vlxI.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/5vlxI.jpg" alt="enter image description here"></a></p>
  
  <p>But I can't find any information elsewhere on whether we should use this event in a new projects. If we shouldn't, what is the replacement?</p>
  
  <p>Could somebody give an insight?</p>