microsoft / microsoft/react-native-windows

Unfork AnimatedPropSerializer.cpp override added during 0.85 nightly integration

Open
#16,262 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Integration Follow-up Needs: Triage :mag:
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vnext/ReactCommon/TEMP_UntilReactCommonUpdate/react/renderer/animationbackend/AnimatedPropSerializer.cpp and inspect the colorToInt32() helper and its Windows-specific conversion. Compare the file with the react-native commit linked from integration PR #16245, then verify that the local patched copy can be unforked once upstream supports Windows Color and the Windows integration build passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, react-native
Domain
desktop
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.