Skip to content

[0.83] Add unstable_fastRefreshComplete CDP event#56399

Draft
huntie wants to merge 1 commit intofacebook:0.83-stablefrom
huntie:0.83-fast-refresh-cdp-event
Draft

[0.83] Add unstable_fastRefreshComplete CDP event#56399
huntie wants to merge 1 commit intofacebook:0.83-stablefrom
huntie:0.83-fast-refresh-cdp-event

Conversation

@huntie
Copy link
Copy Markdown
Member

@huntie huntie commented Apr 9, 2026

Summary

Note

Draft PR: Will require facebook/metro#1682 to be released and then bumped on this branch.

Adds a new, experimental ReactNativeApplication.unstable_fastRefreshComplete CDP event, emitted to subscribed active CDP sessions when a Fast Refresh update completes.

This feature is not gated by a feature flag, but is marked unstable_ and is not observed by any current infra.

Changelog: [Internal]

Test Plan

TODO

Summary:
Pull Request resolved: facebook#56273

Adds a new, experimental `ReactNativeApplication.unstable_fastRefreshComplete` CDP event, emitted to subscribed active CDP sessions when a Fast Refresh update completes.

**Notes**

- As with D97486551, we reuse the `changeId` block in `HMRClient.js`, ensuring duplicate updates for the same change are not reported.

Changelog: [Internal]

Reviewed By: GijsWeterings, hoxyq

Differential Revision: D98493216

fbshipit-source-id: b0b81a210fb84873e9358aa5484038062f110103
@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 Apr 9, 2026
@facebook-github-tools facebook-github-tools bot added p: Facebook Partner: Facebook Partner labels Apr 9, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Warning

JavaScript API change detected

This PR commits an update to ReactNativeApi.d.ts, indicating a change to React Native's public JavaScript API.

  • Please include a clear changelog message.
  • This change will be subject to additional review.

This change was flagged as: BREAKING

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: Facebook Partner: Facebook Partner Pick Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant