forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 148
[Fabric] Shim RCTUILabel #1576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
[Fabric] Shim RCTUILabel #1576
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Saadnajmi
approved these changes
Dec 8, 2022
closes #1540 |
…abel # Conflicts: # React/Base/RCTUIKit.h
shwanton
pushed a commit
to shwanton/react-native-macos
that referenced
this pull request
Dec 12, 2022
4 tasks
Saadnajmi
pushed a commit
that referenced
this pull request
Dec 13, 2022
Saadnajmi
pushed a commit
that referenced
this pull request
Dec 22, 2022
* Fix RCTUISwitch definition removed in #1576 * Shim RCTPixelValue to take scale factor * Remove extra semicolon * Fix macOS tags Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Feb 13, 2023
* Shim RCTUILabel * Conditionally ignore UIKit apis for UILabel * Shim the RCTLabel to render correctly * Re-add removed code Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Feb 13, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Feb 13, 2023
* Fix RCTUISwitch definition removed in microsoft#1576 * Shim RCTPixelValue to take scale factor * Remove extra semicolon * Fix macOS tags Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
* Shim RCTUILabel * Conditionally ignore UIKit apis for UILabel * Shim the RCTLabel to render correctly * Re-add removed code Co-authored-by: Shawn Dempsey <shawndempsey@fb.com> # Conflicts: # React/Base/macOS/RCTUIKit.m # Conflicts: # React/Base/macOS/RCTUIKit.m
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
* Fix RCTUISwitch definition removed in microsoft#1576 * Shim RCTPixelValue to take scale factor * Remove extra semicolon * Fix macOS tags Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
* Shim RCTUILabel * Conditionally ignore UIKit apis for UILabel * Shim the RCTLabel to render correctly * Re-add removed code Co-authored-by: Shawn Dempsey <shawndempsey@fb.com> # Conflicts: # React/Base/macOS/RCTUIKit.m # Conflicts: # React/Base/macOS/RCTUIKit.m
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
shwanton
added a commit
to shwanton/react-native-macos
that referenced
this pull request
Mar 10, 2023
* Fix RCTUISwitch definition removed in microsoft#1576 * Shim RCTPixelValue to take scale factor * Remove extra semicolon * Fix macOS tags Co-authored-by: Shawn Dempsey <shawndempsey@fb.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please select one of the following
Summary
Fabric on macOS
Shim RCTUILabel to work w/ Fabric
closes #1540
NOTE Will revisit UI once everything is rendering on MacOS
Changelog
[macOS][Fabric] - Shim RCTUILabel for Fabric
Test Plan
[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no RCTUnimplementedViewComponentView errors

Build errors:
Build RNTester-macOS_2022-12-05T17-49-32.txt
[x] Build RNTester - iOS w/ Fabric - New architecture example should work
https://user-images.githubusercontent.com/96719/206325127-a12d82aa-55a3-4474-9c45-d6a50d496907.mp4
[x] Build RNTester-macOS w/ Paper - should work
CleanShot.2022-12-07.at.16.31.20.mp4
[x] Build RNTester - iOS w/ Paper - should work
CleanShot.2022-12-07.at.16.28.33.mp4