mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50242 Similar to D71636694, adds conditional compile to `RCTInspectorNetworkReporter.mm` to minimize code size and operations performed in production builds. Specifically: - Expensive copy of `httpBody` is eliminated. - Other optional fields that are only mapped when CDP support is enabled are also omitted. Changelog: [Internal] Reviewed By: hoxyq Differential Revision: D71637716 fbshipit-source-id: 6c7688b1ac82d2b1047b42a812834a7dfb37cd0f