Use getDerivedStateFromProps()
in UserProfileEdit
#2071
Labels
repository:addons-frontend
Issue relating to addons-frontend
Let's
getDerivedStateFromProps()
inUserProfileEdit
instead of usingsetState()
incomponentDidUpdate()
. It'll be more future-proof!For QA: please make sure the edit profile page still works and there is no regression.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: