Skip to content

Bridgeless mode: Reflect, Proxy doesn't exist #43523

Description

@farwayer

Description

After enabling bridgeless mode Reflect, Proxy became unavailable for some season

Steps to reproduce

  1. default project init
  2. enabled new arch
  3. enable bridgeless mode
  4. add Reflect/Proxy reference: new Proxy({}, {}) for example

React Native Version

0.73.6

Affected Platforms

Runtime - Android, Runtime - iOS

Areas

Bridgeless - The New Initialization Flow

Output of npx react-native info

System:
OS: Linux
CPU: x64 Intel
Memory: 3.89 GB / 15.31 GB
Binaries:
Node:
version: 21.7.0
Yarn:
version: 1.22.21
npm:
version: 10.5.0
Watchman: Not Found
SDKs:
Android SDK:
Android NDK: 25.2.9519653
IDEs:
Android Studio: Not Found
Languages:
Java:
version: 17.0.10
path: /usr/bin/javac
Ruby:
version: 3.0.6
path: /usr/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.6
wanted: 0.73.6
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: false

Stacktrace or Logs

(NOBRIDGE) ERROR ReferenceError: Property 'Proxy' doesn't exist
This error is located at:
in Section (created by App)
in RCTView (created by View)
in View (created by App)
in RCTView (created by View)
in View (created by ScrollView)
in RCTScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by App)
in RCTView (created by View)
in View (created by App)
in App
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in AwesomeProject(RootComponent)

Reproducer

https://github.com/farwayer/rn-bridgeless-no-proxy

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.Resolution: FixedA PR that fixes this issue has been merged.Type: New ArchitectureIssues and PRs related to new architecture (Fabric/Turbo Modules)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions