-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed usage of valueLink from client/me/account
Removed usages of valueLink and checkedLink from client/me/account/main.jsx and replaced them with value/checked/onChange properties. Also, stopped using valueLink method from me/form-base and the LinkedStateMixin. Replaced them with methods on the Account class that directly work with the userSettings module and the component state. This will come handy when Reduxifying the component - all the method calls will be straithforwardly replaced with selectors and action dispatches. It also comes handy for PR #12544 that introduces a new LanguageChooser component. This component won't have to support the dual API with both value/onChange and valueLink, but will need to support just one. After this PR, doing the same change in other client/me subdirectories should follow.
- Loading branch information
Showing
1 changed file
with
54 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters