Skip to content

Conversation

@cipolleschi
Copy link
Contributor

Summary:
Remove code from jsc folder from React Native

Changelog:

[iOS][Removed] - Remove code from jsc folder from React Native

Differential Revision: D76419587

@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 labels Jun 11, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Differential Revision: D76419587
@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Differential Revision: D76419587
@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jun 11, 2025
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Differential Revision: D76419587
Copy link
Contributor

@okwasniewski okwasniewski left a comment

Choose a reason for hiding this comment

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

Looks good, left couple of comments. I'll try to integrate it with community JSC once this gets merged and released in nightly

Comment on lines 155 to 156
throw std::runtime_error("No JSExecutorFactory specified.");
return nullptr;
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we keep this error? Might be useful when users don't override the delegate method

#elif USE_THIRD_PARTY_JSC != 1
return jsrt_create_jsc_factory();
#else
return nullptr;
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure but I think we need to return nullptr in the else case

else
s.dependency "hermes-engine"
add_dependency(s, "React-RuntimeHermes")
s.exclude_files = "RCTJscInstanceFactory.{h,mm}"
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be removed, right? We won't have this file

@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jun 12, 2025
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Differential Revision: D76419587
@facebook-github-bot
Copy link
Contributor

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

cipolleschi added a commit to cipolleschi/react-native that referenced this pull request Jun 17, 2025
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Reviewed By: rshest

Differential Revision: D76419587
Summary:
Pull Request resolved: facebook#51945

Remove code from jsc folder from React Native

## Changelog:
[iOS][Removed] - Remove code from jsc folder from React Native

Reviewed By: rshest

Differential Revision: D76419587
@facebook-github-bot
Copy link
Contributor

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

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 331fab0

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jun 17, 2025
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 331fab0.

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.

4 participants