-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity API: Correctly handle lazily added, deeply nested prope…
…rties with `deepMerge()` (#65465) * test: Add case for deeply nested undefined properties in context proxy Add a test to ensure the context proxy correctly handles and updates deeply nested properties that are initially undefined. * Update the test case to use `proxifyState()` * Add test for deepMerge with nested undefined properties * Add a failing test in `deep-merge.ts` * Add another failing test * Make all the tests pass * Simplify code * Fix test case name * Add one extra test * Update test in `context-proxy` * Update changelog --------- Co-authored-by: michalczaplinski <czapla@git.wordpress.org> Co-authored-by: DAreRodz <darerodz@git.wordpress.org> Co-authored-by: cbravobernal <cbravobernal@git.wordpress.org>
- Loading branch information
1 parent
a1b696d
commit dc70023
Showing
4 changed files
with
182 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
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