https://chuckconway.com/posts/changing-a-react-input-value-from-vanilla-javascript/