Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Unfork NetworkIOAgent.cpp destructor and enableAgent API changes from 0.85 nightly integration

Đang mở
#16,263 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
38/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp, react-native
Lĩnh vực
tooling

Hướng nghiên cứu

Bắt đầu với vnext/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp và so sánh nó với commit React Native được liên kết trong issue, sử dụng PR tích hợp #16245 làm ngữ cảnh. Công việc được xem là hoàn tất khi override bao gồm destructor và sử dụng enableAgent()/disableAgent() nhất quán với upstream API.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Integration Follow-up Needs: Triage :mag:
Problem Description

During the integration of RN 0.85.0-nightly-20260128-36f07a1b2 (#16245), the upstream NetworkIOAgent API changed from enable()/disable() to enableAgent()/disableAgent(). A destructor was also added to properly clean up the network agent. These changes were applied to the existing override file.

Note: The existing override (tracked by #13587) covers type/namespace fixes. This issue tracks the new destructor and API adaptation.

Current Fix
Updated the existing patched copy at vnext/ReactCommon/TEMP_UntilReactCommonUpdate/jsinspector-modern/NetworkIOAgent.cpp with the destructor and new API calls.

Link to the integration PR where the error originated

#16245

Link to react-native commit

https://github.com/facebook/react-native/compare/f15985f4f...36f07a1b2

Forked files

No response

Upstream PR in react-native

No response

Build Configuration

None

Ngôn ngữ chính
C++
Star
17.4k
Fork
1.2k
Merge trung bình
2 ngày 17 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/react-native-windows

Tất cả issue của microsoft/react-native-windows

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.