Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

FabricJSIModuleProvider -> FabricUIManagerProviderImpl #231

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

arushikesarwani94
Copy link

Summary:
X-link: facebook/react-native#39545

Refactoring FabricJSIModuleProvider to implement the newly added UIManagerProvider interface instead of the JSIModuleProvider in order to get rid of JSI Module thereby renaming it to FabricUIManagerProviderImpl

Changelog:
[Internal] internal

Differential Revision: D49259735

@vercel
Copy link

vercel bot commented Sep 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
playtorch ⬜️ Ignored (Inspect) Visit Preview Oct 16, 2023 9:58pm

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

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

arushikesarwani94 added a commit to arushikesarwani94/react-native that referenced this pull request Oct 16, 2023
Summary:
X-link: facebookresearch/playtorch#231


1. Refactoring `FabricJSIModuleProvider` to implement the newly added `UIManagerProvider` interface instead of the `JSIModuleProvider` in order to get rid of JSI Module thereby renaming it to `FabricUIManagerProviderImpl`

2. Adding  `setTurboModuleRegistry(TurboModuleRegistry turboModuleRegistry)`, `setFabricUIManager(UIManager fabricUIManager)`, `getFabricUIManager()` instead of `setTurboModuleManager(JSIModule getter)`

3. Replacing `mJSIModuleRegistry.notifyJSInstanceDestroy()` with `mTurboModuleRegistry.invalidate();`

Changelog:
[Internal] internal

Differential Revision: D49259735
arushikesarwani94 added a commit to arushikesarwani94/playtorch that referenced this pull request Oct 16, 2023
Summary:

X-link: facebook/react-native#39545

1. Refactoring `FabricJSIModuleProvider` to implement the newly added `UIManagerProvider` interface instead of the `JSIModuleProvider` in order to get rid of JSI Module thereby renaming it to `FabricUIManagerProviderImpl`

2. Adding  `setTurboModuleRegistry(TurboModuleRegistry turboModuleRegistry)`, `setFabricUIManager(UIManager fabricUIManager)`, `getFabricUIManager()` instead of `setTurboModuleManager(JSIModule getter)`

3. Replacing `mJSIModuleRegistry.notifyJSInstanceDestroy()` with `mTurboModuleRegistry.invalidate();`

Changelog:
[Internal] internal

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

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

arushikesarwani94 added a commit to arushikesarwani94/playtorch that referenced this pull request Oct 16, 2023
Summary:

X-link: facebook/react-native#39545

1. Refactoring `FabricJSIModuleProvider` to implement the newly added `UIManagerProvider` interface instead of the `JSIModuleProvider` in order to get rid of JSI Module thereby renaming it to `FabricUIManagerProviderImpl`

2. Adding  `setTurboModuleRegistry(TurboModuleRegistry turboModuleRegistry)`, `setFabricUIManager(UIManager fabricUIManager)`, `getFabricUIManager()` instead of `setTurboModuleManager(JSIModule getter)`

3. Replacing `mJSIModuleRegistry.notifyJSInstanceDestroy()` with `mTurboModuleRegistry.invalidate();`

Changelog:
[Internal] internal

Differential Revision: D49259735
arushikesarwani94 added a commit to arushikesarwani94/react-native that referenced this pull request Oct 16, 2023
Summary:
X-link: facebookresearch/playtorch#231


1. Refactoring `FabricJSIModuleProvider` to implement the newly added `UIManagerProvider` interface instead of the `JSIModuleProvider` in order to get rid of JSI Module thereby renaming it to `FabricUIManagerProviderImpl`

2. Adding  `setTurboModuleRegistry(TurboModuleRegistry turboModuleRegistry)`, `setFabricUIManager(UIManager fabricUIManager)`, `getFabricUIManager()` instead of `setTurboModuleManager(JSIModule getter)`

3. Replacing `mJSIModuleRegistry.notifyJSInstanceDestroy()` with `mTurboModuleRegistry.invalidate();`

Changelog:
[Internal] internal

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

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

…rch#231)

Summary:

X-link: facebook/react-native#39545

1. Refactoring `FabricJSIModuleProvider` to implement the newly added `UIManagerProvider` interface instead of the `JSIModuleProvider` in order to get rid of JSI Module thereby renaming it to `FabricUIManagerProviderImpl`

2. Adding  `setTurboModuleRegistry(TurboModuleRegistry turboModuleRegistry)`, `setFabricUIManager(UIManager fabricUIManager)`, `getFabricUIManager()` instead of `setTurboModuleManager(JSIModule getter)`

3. Replacing `mJSIModuleRegistry.notifyJSInstanceDestroy()` with `mTurboModuleRegistry.invalidate();`

Changelog:
[Internal] internal

Differential Revision: D49259735
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants