Skip to content

[0.83] Add unstable_fastRefreshComplete CDP event#56399

Open
huntie wants to merge 2 commits intofacebook:0.83-stablefrom
huntie:0.83-fast-refresh-cdp-event
Open

[0.83] Add unstable_fastRefreshComplete CDP event#56399
huntie wants to merge 2 commits 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

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.

Dependency: Bumps Metro to 0.83.6

facebook/metro@v0.83.3...v0.83.6

image

Changelog: [Internal]

Test Plan

yarn test-release-local -t RNTester -p [Android|iOS]

@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

huntie and others added 2 commits April 14, 2026 11:23
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
@huntie huntie force-pushed the 0.83-fast-refresh-cdp-event branch from 4213761 to 6829f20 Compare April 14, 2026 10:23
@huntie huntie marked this pull request as ready for review April 14, 2026 10:24
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