SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

expose if there are any connected devices to dev middleware and adding event on if this changes (#54447)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54447

Changelog: [Internal]

Expose `unstable_hasConnectedDevices` and `unstable_addHasConnectedDevicesListener` from both `InspectorProxy` and `DevMiddleware` that tells the user if any devices are connected to `devMiddleware` and allows to listen to whenever this state changes.

Reviewed By: motiz88

Differential Revision: D86319965

fbshipit-source-id: 18a30138b16a41821dc17a63e9d9cada04888f34
V
Vitali Zaidman committed
7cecf15c59006c7b982b1a9fdff62a1904e48e9b
Parent: 3e9083b
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com> on 12/10/2025, 9:49:36 AM