Skip to content

Simplify TurboModule setup#34373

Closed
cipolleschi wants to merge 1 commit into
facebook:mainfrom
cipolleschi:export-D38509891
Closed

Simplify TurboModule setup#34373
cipolleschi wants to merge 1 commit into
facebook:mainfrom
cipolleschi:export-D38509891

Conversation

@cipolleschi
Copy link
Copy Markdown
Contributor

Summary:
By introducing a RCTAppDelegate base class, we can simplify the migration step to supports TM

Changelog

[iOS][Changed] - Simplified migration steps for TM

Differential Revision: D38509891

@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. fb-exported labels Aug 9, 2022
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot react-native-bot added the Platform: iOS iOS applications. label Aug 9, 2022
@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Aug 9, 2022

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,612,244 +25
android hermes armeabi-v7a 7,027,719 +45
android hermes x86 7,912,105 +40
android hermes x86_64 7,885,528 +41
android jsc arm64-v8a 9,489,898 +15
android jsc armeabi-v7a 8,267,780 +44
android jsc x86 9,427,274 +37
android jsc x86_64 10,020,029 +48

Base commit: e509f96
Branch: main

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Aug 9, 2022

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: e509f96
Branch: main

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

Summary:
Pull Request resolved: facebook#34373

By introducing a RCTAppDelegate base class, we can simplify the migration step to supports TM

## Changelog
[iOS][Changed] - Simplified migration steps for TM

Reviewed By: cortinico

Differential Revision: D38509891

fbshipit-source-id: 3013cc1aec3035996dd5ad92bf20d83541dd8173
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@danilobuerger
Copy link
Copy Markdown
Contributor

@cipolleschi If we have a base class now, would it make sense to extract all the other methods and vars out as well? That would result in a much smaller app delegate.

@cipolleschi
Copy link
Copy Markdown
Contributor Author

@danilobuerger Yes, but I wanted to tackle in another PR not to have too big changes and to clearly separate TM and FC

@danilobuerger
Copy link
Copy Markdown
Contributor

Awesome!

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @cipolleschi in cb02a6e.

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

@react-native-bot react-native-bot added the Merged This PR has been merged. label Aug 10, 2022
roryabraham pushed a commit to Expensify/react-native that referenced this pull request Aug 17, 2022
Summary:
Pull Request resolved: facebook#34373

By introducing a RCTAppDelegate base class, we can simplify the migration step to supports TM

## Changelog
[iOS][Changed] - Simplified migration steps for TM

Reviewed By: cortinico

Differential Revision: D38509891

fbshipit-source-id: 716c1e668a05ecbd9c679558889564780816e491
facebook-github-bot pushed a commit that referenced this pull request Sep 8, 2025
Summary:
So we can test the feature.

DiffTrain build for [3168e08f8389d258de9eb7c8d19b9d44a0f250f2](facebook/react@3168e08)

Reviewed By: kassens

Differential Revision: D81599263

fbshipit-source-id: a33ca01250206a2a35350f7fad09e43071522df7
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 Platform: iOS iOS applications.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants