Refactor the Edit User Implementation

Enhance the edit user implementation by refactoring.

Extracting fields

To avoid having to enter the user’s password when editing user details, we’ll do a small refactor. We’ll start by creating an abstract super class with CreateUserFormData extracting most fields except for password and passwordRepeated:

Get hands-on with 1400+ tech skills courses.