-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move prop diffing for Interop Layer to Adapter
Summary: We have 1 coordinator per class but 1 adapter per instance. Currently, the `oldProps` are stored in the coordinator and not into the adapter. Therefore, when we create multiple instances of the same legacy component, the props might get messy or not updated properly. This change moves the `oldProps` and the diffing code to the Adapter rather than to the coordinator, making them instance-specific. ## Changelog: [iOS][Fixed] - Move old props and prop diffing to the interop layer adapter Reviewed By: sammy-SC Differential Revision: D52368222 fbshipit-source-id: 0f0c47b586fe61404250c5bfe51a7e2c63012815
- Loading branch information
1 parent
06a053f
commit 3b80531
Showing
3 changed files
with
98 additions
and
94 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