in src/components/Main.tsx [14:19]
componentDidUpdate() { if (Store.editItemId) { let inputElement = this.refs["edit_" + Store.editItemId] as HTMLInputElement; inputElement.focus(); } }