Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Changelog: [Internal] I think this started to break when facebook/react#25441 was synced to RN. Before, `closestInstance` would only be non-null under Fabric, after it could be non-null in both. And we were using `closestInstance` to determine which data to send to `selectNode` in devtools. This diff makes a change to call `selectNode` once for non-fabric and once for fabric, one of them would not send anything to devtools frontend, this would make sure it works for both platforms. Reviewed By: mondaychen Differential Revision: D41366466 fbshipit-source-id: fcf30d03e443f6fa067782cd31b7cfd2e0cd841e
- Loading branch information