Skip to content

Conversation

damianstasik
Copy link
Contributor

Summary:

The hasUnrecoverableErrors function has been hardcoded to always return false for the past 5 years, since React Refresh can recover from all errors. This hardcoding was introduced in react-refresh v0.7.1, and RN currently uses v0.14.2.

Changelog:

[INTERNAL] [REMOVED] - Remove unreachable if-condition in refresh logic

Test Plan:

Fast Refresh should still work as expected.

@facebook-github-bot facebook-github-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 4, 2024
@damianstasik damianstasik marked this pull request as ready for review July 4, 2024 21:23
@facebook-github-bot facebook-github-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 4, 2024
@facebook-github-bot
Copy link
Contributor

@arushikesarwani94 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jul 5, 2024
@facebook-github-bot
Copy link
Contributor

@arushikesarwani94 merged this pull request in 8c8c77b.

Copy link

github-actions bot commented Jul 5, 2024

This pull request was successfully merged by @damianstasik in 8c8c77b.

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. Merged This PR has been merged. 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.

2 participants