react-native-releases icon indicating copy to clipboard operation
react-native-releases copied to clipboard

[0.74] Fix react-native-restart in RELEASE

Open arushikesarwani94 opened this issue 1 year ago • 0 comments

Target Branch(es)

0.74

Link to commit or PR to be picked

https://github.com/facebook/react-native/pull/43645/

Description

https://github.com/facebook/react-native/pull/43521 & https://github.com/facebook/react-native/pull/43588 aimed to fix react-native-restart, however in RELEASE handleReloadJS() is a no-op in DisabledDevSupportManager which is why this should not work. Fixing it by relying on ReactHostImpl.reload() instead for Bridgeless.

arushikesarwani94 avatar Mar 27 '24 17:03 arushikesarwani94