-
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.
BlockEditor: refactoring getBlockParentsByBlockName() selector (#20057)
* block-editor: refact getBlockParentsByBlockName It re implements the getBlockParentsByBlockName() selector using the createSelector() function to memoize what the selector returns in order to avoid performance issues. block-editor: update dependant references in getBlockParentsByBlockName() block-editor: fix * block-editor: add unit test for getBlockParents * block-editor: add getBlockParentsByBlockName test
- Loading branch information
Showing
2 changed files
with
134 additions
and
18 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
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