[0.74] AppRegistry.registerComponent cannot show in a new ReactRooView #44266
Labels
API: AppRegistry
Needs: Attention
Issues where the author has responded to feedback.
Needs: Version Info
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
Android platform.
In some projects, you may need to use ReactRootView to mount components registered through AppRegistry.registerComponent. This method was available in previous versions, but after 0.74, it throws an error:
Invariant Violation: "POPOVER" has not been registered. This can happen if:
AppRegistry.registerComponent
wasn't called., js engine: hermesSteps to reproduce
React Native Version
0.74.0
Affected Platforms
Runtime - Android
Areas
Fabric - The New Renderer, TurboModule - The New Native Module System, JSI - Javascript Interface, Bridgeless - The New Initialization Flow
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://github.com/NiuGuohui/rn0.74-rootviewBug
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: