react-native
react-native copied to clipboard
Remove unreachable if-condition in refresh logic
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.