Skip to content

Some users report issue using it with react native 0.69 and 0.65 #469

Closed
@SergioRZMasson

Description

@SergioRZMasson

Describe the bug
Some consuming the BabylonReactNativeSample project with react native 0.69 are reporting issue "Unexpected token '=' ". This issue seems to happen when one addes the following line to the App.tsx file:

const engine = useEngine();

To Reproduce
Steps to reproduce the behavior:

  1. git clone https://github.com/BabylonJS/BabylonReactNativeSample.git
  2. git checkout react-native-0-69
  3. npm install
  4. npm run android

Screenshots

react_native_69_issue

Other

  • Platform: [e.g. Win32, UWP, HoloLens, Android, iOS]

User reported issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions