Skip to content

Remove what's remaining from InteractionManager#57394

Closed
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-interaction-manager
Closed

Remove what's remaining from InteractionManager#57394
zoontek wants to merge 1 commit into
react:mainfrom
zoontek:remove-interaction-manager

Conversation

@zoontek

@zoontek zoontek commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary:

Completes the removal of InteractionManager. #57026 removed the public API and left a __DEV__ invariant stub; this removes that stub (mirroring #57025) along with the now-dead entries in the Babel lazy-imports config and the issue-labeling script. Use requestIdleCallback instead.

See #57384

Changelog:

[GENERAL] [REMOVED] - Remove the InteractionManager __DEV__ stub

Test Plan:

  • yarn flow and tsc pass.

@meta-cla meta-cla 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 Jul 1, 2026
@zoontek zoontek mentioned this pull request Jul 1, 2026
8 tasks
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Jul 1, 2026
@meta-codesync

meta-codesync Bot commented Jul 1, 2026

Copy link
Copy Markdown

@javache has imported this pull request. If you are a Meta employee, you can view this in D110307663.

@cortinico cortinico left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review automatically exported from Phabricator review in Meta.

@rubennorte

rubennorte commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for looking into this, @zoontek .

The goal of the stub is to more strongly communicate that the API has been removed compared to the previous warning (in this case as an error) so it prompts people to migrate immediately. This was done a month ago so it hasn't gotten into any React Native releases yet. For this to be effective we should keep it for at least 2 major releases, so we should wait for a bit longer (around 3 months from now).

@rubennorte rubennorte closed this Jul 1, 2026
@zoontek

zoontek commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

@rubennorte In that case, it should probably be removed from the documentation in the next release.

@zoontek zoontek deleted the remove-interaction-manager branch July 1, 2026 09:58
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. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants