-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Lazy initalize layout aniamtions in the Commit Hook (#6586)
## Summary Since RN 0.76 the first surface is created after our `initializeTurboModule` method is called on iOS. This change is probably a result of [this PR](facebook/react-native@a778979#diff-ebba7a8b74cc36d5a03437c3999863076246c6c4eb5559fd1a58719b720fd755). This breaks our initialization of `layoutAnimationsProxy_`, so now we lazy initialize it for every surface in the Commit hook. ## Test plan Check if layout animations work in the `fabric-example` app. --------- Co-authored-by: Tomek Zawadzki <[email protected]>
- Loading branch information
1 parent
8c53bb8
commit 1f5d866
Showing
4 changed files
with
34 additions
and
13 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