jazz icon indicating copy to clipboard operation
jazz copied to clipboard

React Native Web support

Open blake-weissman opened this issue 10 months ago • 1 comments

I've recently tried setting up a new React Native / Expo project using npx create-jazz-app@latest. However React Native Web didn't seem to be working & based on what I'm aware of it sounds like React Native Web isn't supported (https://discord.com/channels/1139617727565271160/1313981497010552852/1339323442507546826). Are there any plans to support React Native Web? For reference I'm currently not planning to build with Jazz due to this.

blake-weissman avatar Feb 21 '25 14:02 blake-weissman

Copying the error from the Discord message:

Uncaught Invariant Violation: __fbBatchedBridgeConfig is not set, cannot invoke native modules
at invariant (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:69124:17)
    at http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:69221:5
    at loadModuleImplementation (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:256:7)
    at guardedLoadModule (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:163:14)
    at metroRequire (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:83:75)
    at http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:69064:25
    at loadModuleImplementation (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:256:7)
    at guardedLoadModule (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:163:14)
    at metroRequire (http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:83:75)
    at http://localhost:8081/index.bundle?platform=web&dev=true&hot=false&transform.engine=hermes&transform.routerRoot=app&unstable_transformProfile=hermes-stable:69020:53```

aeplay avatar Mar 03 '25 09:03 aeplay