-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete deprecated JSIModule methods (#42115)
Summary: Pull Request resolved: #42115 React Native Android had a concept called JSIModules, which iOS doesn't have. The JSIModule concept was introduced in the early stages of the Fabric project to represent modules that interact with JS through JSI and they are not NativeModules. In the new architecture this concept is not really necessary and these interfaces were only used to initialize and destroy the Fabric renderer and TurboModule Manager in react native core. Bridgeless mode doesn’t use JSIModule anymore. Also, it has an explicit list of supported JSI module types, so is not open for extension. In order to simplify RN concepts and reduce confusion with TurboModules, which also "use JSI", deleting everything related to JSIModule. This was already deprecated in 0.74.0. Please use ReactInstanceEventListener to subscribe for react instance events instead of getJSIModule() and we recommend using TurboModules instead of JSIModules. Changelog: [General][Breaking] Delete JSIModule Reviewed By: javache, cortinico Differential Revision: D49597702 fbshipit-source-id: bc2bc190aafaf559336b341b50ffabf413474105
- Loading branch information
1 parent
ac3261f
commit 73b4d67
Showing
12 changed files
with
1 addition
and
270 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModule.java
This file was deleted.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
...es/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleHolder.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...s/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModulePackage.java
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
.../react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleProvider.java
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
.../react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleRegistry.java
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
...ages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleSpec.java
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
...ages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/JSIModuleType.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.