microsoft / microsoft/react-native-windows

Un fork TraceSection.h, CxxNativeModule.cpp

Open
#14,819 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Fabric bug Integration Follow-up New Architecture
Dominant language
C++
Stars
17.3k
Forks
1.2k
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Upstream changed the TRACE_TAG_REACT_APPS macro to TRACE_TAG_REACT.
However, we already weren't able to support the TRACE_TAG_REACT_APPS macro. See https://github.com/microsoft/react-native-windows/issues/14699 issue because it relies on something from Meta's internal build system.
So creating copy of this file and changing the macro back to TRACE_TAG_REACT_CXX_BRIDGE and added a comment to them "// [Windows]".

Link to the integration where the error originated
https://github.com/microsoft/react-native-windows/pull/14814

Link to commit
https://github.com/facebook/react-native/commit/d0ab69791bfb31ed0aba537a69a5fcefae52cc67#diff-5faa26e4dbd6748666d12a3df40102e564f2e47cd252fd4f2b3eb79107a9d614

Forked files
vnext\ReactCommon\TEMP_UntilReactCommonUpdate\cxxreact\TraceSection.h
vnext\ReactCommon\TEMP_UntilReactCommonUpdate\cxxreact\CxxNativeModule.cpp

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\cxxreact\TraceSection.h and CxxNativeModule.cpp, then compare them with the upstream commit linked in the issue. Preserve the Windows-specific macro handling and [Windows] comments, and verify the change against the integration context in pull request 14814.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, react-native
Domain
build-system, desktop
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.