[0.83] Add unstable_fastRefreshComplete CDP event#56399
Draft
huntie wants to merge 1 commit intofacebook:0.83-stablefrom
Draft
[0.83] Add unstable_fastRefreshComplete CDP event#56399huntie wants to merge 1 commit intofacebook:0.83-stablefrom
huntie wants to merge 1 commit intofacebook:0.83-stablefrom
Conversation
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
|
Warning JavaScript API change detected This PR commits an update to
This change was flagged as: |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Note
Draft PR: Will require facebook/metro#1682 to be released and then bumped on this branch.
Adds a new, experimental
ReactNativeApplication.unstable_fastRefreshCompleteCDP 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