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

rename host preload -> start #37422

Closed
wants to merge 2 commits into from
Closed

Conversation

philIip
Copy link
Contributor

@philIip philIip commented May 13, 2023

Summary:
Changelog: [Internal]

in this simple change, i renamed the preload API, which triggers all the rct instance / javascript runtime creation to start. preload is a confusing API on the host because the host should be agnostic of when the timing to create its dependencies are, and the consumer should determine when initialization is lazy, early, etc.

Reviewed By: cipolleschi

Differential Revision: D45760583

@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 May 13, 2023
@facebook-github-bot
Copy link
Contributor

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

philIip added a commit to philIip/react-native that referenced this pull request May 13, 2023
Summary:
Pull Request resolved: facebook#37422

Changelog: [Internal]

in this simple change, i renamed the `preload` API, which triggers all the rct instance / javascript runtime creation to `start`. `preload` is a confusing API on the host because the host should be agnostic of when the timing to create its dependencies are, and the consumer should determine when initialization is lazy, early, etc.

Reviewed By: cipolleschi

Differential Revision: D45760583

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

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

philIip added a commit to philIip/react-native that referenced this pull request May 13, 2023
Summary:
Pull Request resolved: facebook#37422

Changelog: [Internal]

in this simple change, i renamed the `preload` API, which triggers all the rct instance / javascript runtime creation to `start`. `preload` is a confusing API on the host because the host should be agnostic of when the timing to create its dependencies are, and the consumer should determine when initialization is lazy, early, etc.

Reviewed By: cipolleschi

Differential Revision: D45760583

fbshipit-source-id: 18e5f3c65337af901177a08eaf1fbbba797741ea
@facebook-github-bot
Copy link
Contributor

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

philIip and others added 2 commits May 12, 2023 21:42
Differential Revision: D45596321

fbshipit-source-id: 8ed8e8ba3f4e5683406da7eb1e8be7bf8ed504a0
Summary:
Pull Request resolved: facebook#37422

Changelog: [Internal]

in this simple change, i renamed the `preload` API, which triggers all the rct instance / javascript runtime creation to `start`. `preload` is a confusing API on the host because the host should be agnostic of when the timing to create its dependencies are, and the consumer should determine when initialization is lazy, early, etc.

Reviewed By: cipolleschi

Differential Revision: D45760583

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

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

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,724,173 +6
android hermes armeabi-v7a 8,035,178 +2
android hermes x86 9,212,809 +3
android hermes x86_64 9,065,954 +9
android jsc arm64-v8a 9,288,913 +3
android jsc armeabi-v7a 8,477,346 +3
android jsc x86 9,348,929 +5
android jsc x86_64 9,605,684 +4

Base commit: cd223d6
Branch: main

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 61335a1.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 13, 2023
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