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 AnimatedPropSerializer.cpp override added during 0.85 nightly integration

Đang mở
#16,262 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
cpp, react-native
Lĩnh vực
desktop

Hướng nghiên cứu

Bắt đầu với vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/animationbackend/AnimatedPropSerializer.cpp và kiểm tra helper colorToInt32() cùng phần chuyển đổi dành riêng cho Windows của nó. So sánh tệp này với commit react-native được liên kết từ integration PR #16245, sau đó xác minh rằng bản sao cục bộ đã được patch có thể được bỏ fork khi upstream hỗ trợ Windows Color và bản build tích hợp Windows chạy thành công.

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 AnimatedPropSerializer.cpp uses Color as a plain int32_t, but on Windows Color is a struct. This required a local patched copy with a helper function to convert Windows Color to int32_t ARGB format.

Current Fix
A local patched copy was created at vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/animationbackend/AnimatedPropSerializer.cpp with a colorToInt32() helper that calls color.AsWindowsColor().

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 20 giờ
Pull request đã merge (30 ngày)
15

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.