When opening the form for EmployeeEdit, the onTextChange event varies the redux state twice, hence a laggy issue on the UI side.
This is due to the state being refreshed twice, hence the re-rendering of the component is done more times than required.