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

Use vals inside ReactApplication #38088

Closed
wants to merge 1 commit into from

Conversation

cortinico
Copy link
Contributor

Summary:
For better Kotlin interop we should be using val in this interface rather than just fun.
This is not a breaking change as Java users can still use getReactNativeHost() as before.

Changelog:
[Internal] [Changed] - Use vals inside ReactApplication

Differential Revision: D47053030

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jun 27, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

@analysis-bot
Copy link

analysis-bot commented Jun 27, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 9,047,346 +3
android hermes armeabi-v7a 8,296,587 +2
android hermes x86 9,563,507 +2
android hermes x86_64 9,405,800 +1
android jsc arm64-v8a 9,606,372 +2
android jsc armeabi-v7a 8,733,054 +2
android jsc x86 9,693,399 +3
android jsc x86_64 9,939,696 +0

Base commit: a4a0655
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

cortinico added a commit to cortinico/react-native that referenced this pull request Jun 27, 2023
Summary:
Pull Request resolved: facebook#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 28ced59e59fa4ac51f4b9a94103678fa1787e34a
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

cortinico added a commit to cortinico/react-native that referenced this pull request Jun 27, 2023
Summary:
Pull Request resolved: facebook#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 86e1e9c9528e94e8e179c36f2e15edda3aec5305
@cortinico cortinico force-pushed the export-D47053030 branch 2 times, most recently from cadee57 to 6444380 Compare June 29, 2023 16:59
cortinico added a commit to cortinico/react-native that referenced this pull request Jun 29, 2023
Summary:
Pull Request resolved: facebook#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 2bac360060244003aa2ed44c2b151d4aebeea86c
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

1 similar comment
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

cortinico added a commit to cortinico/react-native that referenced this pull request Jun 30, 2023
Summary:
Pull Request resolved: facebook#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: a54efec91e7476e1084db495bfdeff6700c347ce
Summary:
Pull Request resolved: facebook#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 5f5e204efc490b214408d5c715b49b6a51508584
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D47053030

@github-actions
Copy link

This pull request was successfully merged by @cortinico in c3f672c.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions bot added the Merged This PR has been merged. label Jun 30, 2023
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 30, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in c3f672c.

blakef pushed a commit to blakef/template that referenced this pull request Feb 28, 2024
Summary:
Pull Request resolved: facebook/react-native#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 4a7fbc71a76be54e1cf7daef499b9bc3e8fc615a

Original: facebook/react-native@c3f672c
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
Pull Request resolved: facebook/react-native#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 4a7fbc71a76be54e1cf7daef499b9bc3e8fc615a

Original-Commit: facebook/react-native@c3f672c
blakef pushed a commit to react-native-community/template that referenced this pull request Feb 29, 2024
Summary:
Pull Request resolved: facebook/react-native#38088

For better Kotlin interop we should be using `val` in this interface rather than just `fun`.
This is not a breaking change as Java users can still use `getReactNativeHost()` as before.

Changelog:
[Internal] [Changed] -  Use vals inside ReactApplication

Reviewed By: javache

Differential Revision: D47053030

fbshipit-source-id: 4a7fbc71a76be54e1cf7daef499b9bc3e8fc615a

Original-Commit: facebook/react-native@c3f672c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants