Looking for code to focus on text area and restart app

Hi, I am currently using the streamlit_js_eval component to run a couple JavaScript tasks:

  • Move web focus to the text area (chat app)
  • Clean restart of the application (reload the web page)

Anyone have a non-component way to do these things?