You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(reactotron-react-native): new arch support (#1508 by @frankcalise)
## Describe your PR
- Closes#1486
- `NativeModules` aren't available in bridgeless, so we utilize the
`TurboModuleRegistry` to dig up the same calls we were using (this is
backwards compatible)
- [ ] Maybe want to do better TSing over `eslint-disable` but I'll leave
that up to @morganick's review 😅
> [!WARNING]
> The `DevMenu` change is not Expo Go compatible. This will never work
in Expo Go as documented in
infinitered/ignite#2678. This would only
impact the client devtools code, which they could remove the custom
command from the Reactotron configuration (in this repo, it's just in
the example app, hence the CNG change)
```bash
ERROR Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'DevMenu' could not be found. Verify that a module by this name is registered in the native binary.Bridgeless mode: false. TurboModule interop: false.
Modules loaded: {"NativeModules":["PlatformConstants","LogBox","BlobModule","PlatformConstants","SourceCode","PlatformConstants","DeviceInfo"],"TurboModules":[],"NotFound":["DevMenu"]}, js engine: hermes
```
0 commit comments