Skip to content

Reland: Undo breaking change of UiManager.eventDispatcher by solving circular dependency#47478

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65595391
Closed

Reland: Undo breaking change of UiManager.eventDispatcher by solving circular dependency#47478
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D65595391

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
That's a reland of D65540601

The UIManager.eventDispatcher return type is wrong and is causing a breaking change in 0.77

For 0.76 we fixed it in the release branch but we should fix it for good in main as well.
To solve it I had to fix the circular dependency between .bridge and .uimanager.

I wish I could have isolated the .events package better but as everythign is public, any
change we do is going to be a breaking change so I'm being over cautios here.

Changelog:
[Android] [Fixed] - Undo breaking change of UiManager.eventDispatcher return type

Differential Revision: D65595391

…circular dependency

Summary:
That's a reland of D65540601

The `UIManager.eventDispatcher` return type is wrong and is causing a breaking change in 0.77

For 0.76 we fixed it in the release branch but we should fix it for good in main as well.
To solve it I had to fix the circular dependency between .bridge and .uimanager.

I wish I could have isolated the .events package better but as everythign is public, any
change we do is going to be a breaking change so I'm being over cautios here.

Changelog:
[Android] [Fixed] - Undo breaking change of UiManager.eventDispatcher return type

Differential Revision: D65595391
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 7, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65595391

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 7817ab5.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cortinico in 7817ab5

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants