Skip to content
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

☂️ Help us Kotlin-ify React Native - Round 3 #50513

Open
12 tasks
mateoguzmana opened this issue Apr 7, 2025 · 14 comments
Open
12 tasks

☂️ Help us Kotlin-ify React Native - Round 3 #50513

mateoguzmana opened this issue Apr 7, 2025 · 14 comments
Labels
Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Help Wanted :octocat: Issues ideal for external contributors. ☂️ Umbrella To label issues that serve as coordination point and drivers for tasks in the react-native repo

Comments

@mateoguzmana
Copy link
Collaborator

mateoguzmana commented Apr 7, 2025

☂️ Help us Kotlin-ify React Native - Round 3

Hey all 👋
After the successful second round, we're back with another round of tasks to help us improve Kotlin support in React Native core. In this stage we are looking for help to migrate a few more files to Kotlin.

How to work

If you wish to grab one of the tasks, you should:

  • Verify that the task is not claimed yet.
  • Comment here that you claim a task.
  • Start working on the task. Testing instructions are below.
  • Send the PR for review. Ping @mateoguzmana, @cortinico or @mdvacca for a review.
  • You can’t claim more than one task at a time.
  • If you’re not completing the task within a week, we’ll release it for the next contributor.

Code formatting

Please use KtFmt to format Kotlin classes.
You can use the web UI to reformat directly from the browser.

Migrating files to Kotlin

Please act as follow:

  • Fork and clone the repo
  • Verify that RN-Tester, our reference app, runs with yarn && yarn android from the root folder
  • Migrate the file to Kotlin
  • Verify that RN-Tester runs again using the same command.

Other important things to take into account:

  • Avoid using Hungarian notation for the variables when the file is migrated. E.g.: mMyAwesomeProperty should become myAwesomeProperty
  • You might have to run the project in old architecture as well to ensure nothing breaks there when building. You can easily switch in the RN-Tester by setting newArchEnabled=false in packages/rn-tester/android/app/gradle.properties
  • Tap around in a few screens after migrating (helps to ensure nothing is breaking at runtime)

List of files to migrate

@react-native-bot react-native-bot added Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Apr 7, 2025
@mateoguzmana mateoguzmana removed Needs: Author Feedback Needs: Repro This issue could be improved with a clear list of steps to reproduce the issue. labels Apr 7, 2025
@facebook facebook deleted a comment from react-native-bot Apr 7, 2025
@facebook facebook deleted a comment from react-native-bot Apr 7, 2025
@facebook facebook deleted a comment from react-native-bot Apr 7, 2025
@mateoguzmana mateoguzmana added ☂️ Umbrella To label issues that serve as coordination point and drivers for tasks in the react-native repo Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Help Wanted :octocat: Issues ideal for external contributors. labels Apr 7, 2025
@cortinico cortinico changed the title DRAFT – ☂️ Help us Kotlin-ify React Native tests - Round 3 ☂️ Help us Kotlin-ify React Native tests - Round 3 Apr 7, 2025
@cortinico cortinico pinned this issue Apr 7, 2025
@cortinico
Copy link
Contributor

Let's go 🚀

@devanshsaini11
Copy link
Collaborator

I would like to migrate: react/modules/blob/FileReaderModule.java

@JatinDream11
Copy link

I would like to migrate react/modules/blob/BlobProvider.java

@yasir6jan
Copy link
Contributor

I would like to migrate react/bridge/DynamicFromObject.java

@poonamjain96
Copy link
Contributor

I would like to migrate react/uimanager/ReactStylesDiffMap.java

@mateoguzmana mateoguzmana changed the title ☂️ Help us Kotlin-ify React Native tests - Round 3 ☂️ Help us Kotlin-ify React Native - Round 3 Apr 7, 2025
@Q1w1N
Copy link

Q1w1N commented Apr 7, 2025

I would like to migrate react/views/textinput/ReactEditTextInputConnectionWrapper.java

@BogiKay
Copy link
Contributor

BogiKay commented Apr 7, 2025

I'd like to migrate react/bridge/DynamicFromArray.java

@artus9033
Copy link

Hello, I'd like to migrate react/bridge/DynamicFromMap.java

@rohitverma-d11
Copy link

Hello, I'd like to migrate react/runtime/ReactLifecycleStateManager.java

@riteshshukla04
Copy link
Contributor

riteshshukla04 commented Apr 7, 2025

react/bridge/UiThreadUtil.java

Can you assign me this @mateoguzmana

@gouravkhunger
Copy link

Hi @mateoguzmana I could help with react/views/text/frescosupport/FrescoBasedReactTextInlineImageSpan.java

@nitinshukla413
Copy link

Can you assign me this @mateoguzmana
react/views/text/frescosupport/FrescoBasedReactTextInlineImageShadowNode.java

@Priyanka26012
Copy link

Can you assign me this @mateoguzmana
react/uimanager/ReactClippingViewGroupHelper.java

@mateoguzmana
Copy link
Collaborator Author

Thanks all for the interest so far! All the files have been assigned now. Let us know if you run into issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue Interested in collaborating? Take a stab at fixing one of these issues. Help Wanted :octocat: Issues ideal for external contributors. ☂️ Umbrella To label issues that serve as coordination point and drivers for tasks in the react-native repo
Projects
None yet
Development

No branches or pull requests