forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity API: Improve internal
deepMerge
function (WordPress#6…
…4879) * Move deepMerge to proxies and update implementation * Remove Boolean casting in hasPropSignal implementation * Test subscriptions to nested props updates * Remove extraneous label * Check signals are not created for nested props * Fix getProxyFromObject types * Add missing imports * Add extra assertions to ensure correct signal creation * Do not expose hasPropSignal from proxies/index * Add missing TSDocs * Update changelog Co-authored-by: DAreRodz <darerodz@git.wordpress.org> Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
- Loading branch information
Showing
8 changed files
with
497 additions
and
333 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/** | ||
* Internal dependencies | ||
*/ | ||
export { proxifyState, peek } from './state'; | ||
export { proxifyState, peek, deepMerge } from './state'; | ||
export { proxifyStore } from './store'; |
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
Oops, something went wrong.