Skip to content

remove connection hints from being logged for the user#53884

Closed
vzaidman wants to merge 3 commits into
facebook:mainfrom
vzaidman:export-D82727105
Closed

remove connection hints from being logged for the user#53884
vzaidman wants to merge 3 commits into
facebook:mainfrom
vzaidman:export-D82727105

Conversation

@vzaidman
Copy link
Copy Markdown
Contributor

@vzaidman vzaidman commented Sep 22, 2025

Summary:
Now that there's a clear display for when HMR is disconnected, we don't want to show messages regardless devices connection and disconnection to the DevServer because they are too partial.

Changelog: [Internal]

Reviewed By: huntie

Differential Revision: D82727105

…ook#53846)

Summary:

Changelog: [Android][Added] - hot reload banner is now displayed in blue background like on iOS

iOS has a colorful "Refreshing..." banner:
 {F1982086204} 

While android doesn't respect the color HMR asks it to set up for the banner:
 {F1982086218}

Reviewed By: cortinico

Differential Revision: D82726743
Summary:

Changelog: [General][Added] - new banner added to indicate that Fast Refresh has lost connection, and that the app needs to be restarted to reconnect

When HMR were getting disconnected, we were not giving any indication for the user.

This lead to situations were the connection is re-established, but HMR is still disconnected, which is unexpected for users.

Instead, raise a banner hinting the user to reload the app to reconnect.

Reviewed By: huntie

Differential Revision: D82726853
Summary:
Changelog: [General][Internal] Don't display connection hints in Metro

Now that there's a clear display for when HMR is disconnected, we don't want to show messages regardless devices connection and disconnection to the DevServer because they are too partial.

Reviewed By: huntie

Differential Revision: D82727105
@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 Sep 22, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@vzaidman has exported this pull request. If you are a Meta employee, you can view the originating diff in D82727105.

vzaidman added a commit to vzaidman/react-native that referenced this pull request Sep 22, 2025
Summary:

Changelog: [Internal]

Now that there's a clear display for when HMR is disconnected, we don't want to show messages regardless devices connection and disconnection to the DevServer because they are too partial.

Reviewed By: huntie

Differential Revision: D82727105
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in e3bf881.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 22, 2025
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @vzaidman in e3bf881

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants