Skip to content

Conversation

@RSNara
Copy link
Contributor

@RSNara RSNara commented Dec 24, 2025

Summary:
I think dispatchJSBindingInstall is a more apt name.

This will help align ios and android. On ios, installJSBindings is a function that executes on the js thread, with a runtime pointer.

Changelog: [Internal]

Differential Revision: D89709221

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 24, 2025
@meta-codesync
Copy link

meta-codesync bot commented Dec 24, 2025

@RSNara has exported this pull request. If you are a Meta employee, you can view the originating Diff in D89709221.

@RSNara RSNara force-pushed the export-D89709221 branch 3 times, most recently from ad21fc6 to 2cdaddf Compare December 24, 2025 03:55
RSNara added a commit to RSNara/react-native that referenced this pull request Dec 24, 2025
Summary:

I think dispatchJSBindingInstall is a more apt name.

This will help align ios and android. On ios, installJSBindings is a function that executes on the js thread, with a runtime pointer.

Changelog: [Internal]

Differential Revision: D89709221
RSNara added a commit to RSNara/react-native that referenced this pull request Dec 26, 2025
Summary:

I think dispatchJSBindingInstall is a more apt name.

This will help align ios and android. On ios, installJSBindings is a function that executes on the js thread, with a runtime pointer.

Changelog: [Internal]

Differential Revision: D89709221
Summary:
The TurboModuleBinding constructor actually doesn't need to be public! It's only called from BridgelessTurboModuleProxy or TurboModuleBinding::install.

Changelog: [Breaking][Both] Make the TurboModuleBinding constructor private.

Reviewed By: christophpurrer

Differential Revision: D89751218
Summary:
Holding a reference to the runtime is discouraged. Let's just use the reference provided to the turbomodule binding instead.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D89751220
Summary:

Read from react native feaure flags from within TurboModuleManager.

This makes it easier to call installJSIBindings. The caller doesn't have to read from feature flags beforehand.

Changelog: [Breaking][Android] Remove unstable_shouldEnableLegacyModuleInterop()

Reviewed By: christophpurrer

Differential Revision: D89709217
Summary:
The runtime executor is only used to install jsi bindings. So, let's just pass it directly to the installJSIBindings function.

Changelog: [Internal]

Reviewed By: christophpurrer

Differential Revision: D89709216
Summary:

I think dispatchJSBindingInstall is a more apt name.

This will help align ios and android. On ios, installJSBindings is a function that executes on the js thread, with a runtime pointer.

Changelog: [Internal]

Differential Revision: D89709221
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 meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants