Skip to content

[Fabric] Convert UISlider to RCTSlider shim #1525

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 5 commits into from
Dec 6, 2022

Conversation

shwanton
Copy link

@shwanton shwanton commented Nov 28, 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

Fabric on macOS implementation:
Replacing references of UISlider to RCTSlider shim

Changelog

[macOS][Fabric] - Replacing references of UISlider to RCTSlider shim

Test Plan

[x] Build RNTester-macOS w/ Fabric - doesn’t run yet, but no UISlider errors
CleanShot 2022-11-28 at 14 58 47

Build errors:
Build RNTester-macOS_2022-11-28T14-57-11.txt

[x] Build RNTester - iOS w/ Fabric - New architecture example should work
https://user-images.githubusercontent.com/96719/204399184-5609e029-d853-4835-8cc2-47ded88c9583.mp4

[x] Build RNTester-macOS w/ Paper - should work
CleanShot 2022-11-28 at 14 45 20

[x] Build RNTester - iOS w/ Paper - should work
CleanShot 2022-11-28 at 14 47 30

@Saadnajmi
Copy link
Collaborator

Wait... is Slider not supposed to be ejected from RN Core?

@Saadnajmi
Copy link
Collaborator

OK, this is one of many PRs just replacing everything in place. I see.

@shwanton shwanton changed the title [Fabric] Convert UISlider to RCTUISlider shim [Fabric] Convert UISlider to RCTSlider shim Nov 29, 2022
@shwanton shwanton marked this pull request as ready for review November 30, 2022 19:56
@shwanton shwanton requested a review from a team as a code owner November 30, 2022 19:56
@Saadnajmi Saadnajmi linked an issue Dec 1, 2022 that may be closed by this pull request
Copy link
Collaborator

@Saadnajmi Saadnajmi left a comment

Choose a reason for hiding this comment

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

Left feedback on RCTSlider vs RCTUISlider

@ghost ghost removed the Needs: Author Feedback label Dec 6, 2022
@Saadnajmi Saadnajmi merged commit 55986b6 into microsoft:main Dec 6, 2022
shwanton added a commit to shwanton/react-native-macos that referenced this pull request Feb 13, 2023
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UISlider to RCTUISlider shim

* Add macOS tags

* Refactor RCTSlider to RCTUISlider for Fabric

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
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UISlider to RCTUISlider shim

* Add macOS tags

* Refactor RCTSlider to RCTUISlider for Fabric

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
* [Fabric] Replace UIKit with RCTUIKit

* [Fabric] Convert UISlider to RCTUISlider shim

* Add macOS tags

* Refactor RCTSlider to RCTUISlider for Fabric

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace UISlider with RCTSlider
3 participants