Tag: how to focus on input when state is changed in reactjs