Skip to content

Conversation

Copilot
Copy link
Contributor

@Copilot Copilot AI commented Aug 22, 2025

This PR upgrades the CalculatorExperimental sample to use React Native Windows 0.80.x dependencies while maintaining minimal changes to preserve the existing structure, GUIDs, and functionality.

Changes Made

Dependency Updates

  • React Native: 0.79.3 → 0.80.2 (latest stable)
  • react-native-windows: 0.79.0 → 0.80.0-preview.3 (latest 0.80.x preview)
  • React: 19.0.0 → ^19.1.0 (satisfies peer dependency requirements)
  • @react-native-community/cli: 18.0.0 → 20.0.1 (latest)
  • All @react-native/ packages*: Updated to 0.80.2 for consistency

Documentation Updates

  • Updated README.md to reflect that the sample now targets RNW 0.80

Verification

The upgrade has been thoroughly tested to ensure compatibility:

  • ✅ All linting passes with no errors
  • ✅ All tests pass (both regular and Windows-specific)
  • ✅ Metro bundler starts correctly with React Native v0.80
  • ✅ JavaScript bundle generates successfully for Windows platform
  • ✅ Fabric configuration preserved (RnwNewArch=true in ExperimentalFeatures.props)
  • ✅ Package.appxmanifest maintains correct publisher "CN=React Native Windows Sample"
  • ✅ All GUIDs and solution files remain unchanged
  • ✅ Calculator functionality (App.tsx) fully preserved

Benefits

This upgrade brings the CalculatorExperimental sample up to date with the latest React Native Windows 0.80.x releases, ensuring developers have access to the latest features, performance improvements, and bug fixes while maintaining the experimental Fabric rendering system compatibility.

The minimal-change approach preserves all existing configuration and ensures a smooth transition without breaking existing workflows or requiring manual GUID restoration.

Fixes #1076.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/react-native-community/rn-diff-purge/tags
    • Triggering command: node /home/REDACTED/work/react-native-windows-samples/react-native-windows-samples/samples/Calculator/fabric/node_modules/.bin/rnc-cli start --verbose (http block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Microsoft Reviewers: Open in CodeFlow

Copilot AI and others added 2 commits August 22, 2025 10:55
Co-authored-by: HariniMalothu17 <185761277+HariniMalothu17@users.noreply.github.com>
Co-authored-by: HariniMalothu17 <185761277+HariniMalothu17@users.noreply.github.com>
@Copilot Copilot AI changed the title [WIP] Upgrade Calculator Fabric Apps to 0.80.x dependencies Upgrade Calculator Fabric Apps to React Native Windows 0.80.x dependencies Aug 22, 2025
@Copilot Copilot AI requested a review from HariniMalothu17 August 22, 2025 11:02
Copilot finished work on behalf of HariniMalothu17 August 22, 2025 11:02
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.

Upgrade Calculator Fabric Apps to 0.80.x dependencies
2 participants