Skip to content

Update NativeModuleSample/cpp-lib to RNW 0.83.0#1243

Merged
sundaramramaswamy merged 1 commit into
mainfrom
upgrade/nativemodulesample-cpp-lib-0.83.0
May 29, 2026
Merged

Update NativeModuleSample/cpp-lib to RNW 0.83.0#1243
sundaramramaswamy merged 1 commit into
mainfrom
upgrade/nativemodulesample-cpp-lib-0.83.0

Conversation

@sundaramramaswamy
Copy link
Copy Markdown
Contributor

@sundaramramaswamy sundaramramaswamy commented May 29, 2026

Summary

Updates the samples/NativeModuleSample/cpp-lib sample from React Native for Windows 0.82 to 0.83.0, following the pattern used for prior version bumps (e.g. #1172).

Changes

  • Library + new-arch example: react 19.2.0, react-native 0.83.4, react-native-windows ^0.83.0.
  • NuGet Microsoft.ReactNative / Microsoft.ReactNative.Cxx references bumped 0.82.1 → 0.83.0 (lib + example app .vcxproj).
  • Regenerated yarn.lock and Windows codegen.
  • Removed the old-architecture example (example-old) and its references (workspace, scripts, tsconfig.build.json, README).

Why remove example-old?

Old-architecture / UWP support has been dropped in react-native-windows 0.83 — the old/uwp-cpp-app template no longer ships, so autolinking fails, and the 0.81 host can no longer build the now-0.83 shared library (MIDL2011). The old-arch example therefore cannot be carried forward at 0.83.

Validation

  • yarn install + yarn prepare + yarn codegen-windows
  • New-architecture example: built, deployed, and launched on Windows (x64 Debug, --singleproc) ✓

Note: --singleproc works around a known CppWinRT parallel-build cycle (cppwinrt#950) surfaced by the NuGet-referenced winmd library project.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

Microsoft Reviewers: Open in CodeFlow

Bump the native module library and the new-architecture example app
to react 19.2.0, react-native 0.83.4, react-native-windows ^0.83.0,
and the Microsoft.ReactNative/.Cxx NuGet references to 0.83.0.

Remove the old-architecture example (example-old): UWP / old arch is
no longer supported in react-native-windows 0.83 (the old/uwp-cpp-app
template was dropped), so it can neither move to 0.83 nor build the
0.83 shared library. README and workspace config updated accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sundaramramaswamy sundaramramaswamy requested a review from a team as a code owner May 29, 2026 08:18
@sundaramramaswamy sundaramramaswamy merged commit e77d22f into main May 29, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants