-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add registry param to withDispatch component (#11851)
* Add select param to withDispatch HOC * Refactor BlockListBlock component to use select param in withDispatch * Update data documentation to include new param used in withDispatch HOC * Update changelog for data package to include note about updated withDispatch capabilities * Add grammar corrections to data package readme * Refactor CopyHandler component to use select in withDispatch * Ensure that only functions can be returned in the object created by mapDispatchToProps * Use select param in withDispatch for Header component * Address feedback shared in review for WithDispatch component * Update withDispatch to pass registry as 3rd param * Update data package documentation to explain usage of the registry * Refactor CopyHandler to work with onCopy handler exposed from withDispatch * Pass registry as the 3rd param to mapSelectToProps in withSelect * Refactor CopyHandler to use only withDispatch
- Loading branch information
Showing
9 changed files
with
155 additions
and
69 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
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