Skip to content

Conversation

shwanton
Copy link

@shwanton shwanton commented Nov 24, 2022

Please select one of the following

  • I am removing an existing difference between facebook/react-native and microsoft/react-native-macos 👍
  • I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos 👍
  • I am making a fix / change for the macOS implementation of react-native
  • I am making a change required for Microsoft usage of react-native

Summary

While we are implementing Fabric for macOS, we need to ensure that we aren't breaking the Fabric for iOS.
We can ensure the NativeComponentExample will build for Fabric & be accessible on iOS.
Once Fabric on macOS is working, this Native Example will not throw an error.

To enable the Native Component, run this during installation
USE_CODEGEN_DISCOVERY=1 USE_FABRIC=1 bundle exec pod install --verbose

Changelog

[macOS] [Added] - Enable NewArchitectureExample Fabric example in RNTester iOS

Test Plan

Fabric iOS

CleanShot.2022-11-23.at.16.57.45.mp4

Paper macOS

CleanShot.2022-11-23.at.17.09.03.mp4

@shwanton shwanton marked this pull request as ready for review November 24, 2022 01:20
@shwanton shwanton requested a review from a team as a code owner November 24, 2022 01:20
@mischreiber mischreiber self-assigned this Nov 29, 2022
@shwanton shwanton changed the title Enable NewArchitectureExample Fabric example in RNTester iOS [Fabric] Enable NewArchitectureExample Fabric example in RNTester iOS Dec 7, 2022
@Saadnajmi Saadnajmi force-pushed the fabric/enable-fabric-example branch from 14ff557 to f1f006f Compare January 14, 2023 20:59
@Saadnajmi Saadnajmi force-pushed the fabric/enable-fabric-example branch from ddf87c5 to bea1daf Compare January 14, 2023 21:30
Copy link

@analysis-bot analysis-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code analysis results:

  • eslint found some issues. Run yarn lint --fix to automatically fix problems.

@Saadnajmi Saadnajmi force-pushed the fabric/enable-fabric-example branch from 6b03481 to 6fe3bd4 Compare January 14, 2023 22:28
@Saadnajmi Saadnajmi merged commit 952f398 into microsoft:main Jan 14, 2023
@shwanton shwanton deleted the fabric/enable-fabric-example branch January 20, 2023 02:27
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
…microsoft#1520)

* Enable NewArchitectureExample example in RNTester iOS

* Conditionally render MyNativeView

* flow-check-ios

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…microsoft#1520)

* Enable NewArchitectureExample example in RNTester iOS

* Conditionally render MyNativeView

* flow-check-ios

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
# Conflicts:
#	packages/rn-tester/Podfile
#	packages/rn-tester/js/utils/RNTesterList.ios.js
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Mar 10, 2023
…microsoft#1520)

* Enable NewArchitectureExample example in RNTester iOS

* Conditionally render MyNativeView

* flow-check-ios

Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Co-authored-by: Saad Najmi <sanajmi@microsoft.com>
# Conflicts:
#	packages/rn-tester/Podfile
#	packages/rn-tester/js/utils/RNTesterList.ios.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants