Refactor the Edit User Implementation
Enhance the edit user implementation by refactoring.
We'll cover the following
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 1200+ tech skills courses.