Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for New Architecture / Interop Layer #178

Open
javascripter opened this issue Apr 4, 2024 · 2 comments
Open

Support for New Architecture / Interop Layer #178

javascripter opened this issue Apr 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@javascripter
Copy link

Description

I know it may be a bit early as react-native-turbo is still in beta, but since React Native 0.74 will enable the New Architecture by default with bridgeless mode on, I'd like to know if there is a plan for react-native-turbo to support the new Architecture directly or via Interop Layer.

So far I've tried an Expo 50 app with New Arch with the following react-native.config.js, but it does not seem to work.

module.exports = {
  project: {
    ios: {
      unstable_reactLegacyComponentNames: ['RNVisitableView'],
    },
  },
}

Steps to reproduce

https://docs.expo.dev/guides/new-architecture/#enable-the-new-architecture-in-an-existing-project

Follow the steps in the docs to enable New Arch and run with the react-native-config.js above.

Snack or a link to a repository

https://github.com/software-mansion-labs/react-native-turbo-demo/tree/main/examples/turbo-demo-expo-example

React Native Turbo version

1.0.0-beta.5

React Native version

0.73.6

Platforms

iOS

JavaScript runtime

Hermes

Workflow

Expo Dev Client

Architecture

Fabric (New Architecture)

Build type

Debug app & dev bundle

Device

iOS simulator

Device model

No response

@pklatka
Copy link
Collaborator

pklatka commented Apr 5, 2024

Hi @javascripter,

Initially, this was in the plan, but we've been focusing on making this library work as well as possible. The library will be out of beta soon (we're still testing it and not planning any major changes), so this probably should be done after we're out of beta.

@pklatka pklatka added the enhancement New feature or request label Apr 5, 2024
@javascripter
Copy link
Author

@pklatka
Makes sense! It's great to know New Arch will be considered at some point after a stable release too.
Thanks for working on this project. I believe this library has a lot of potential and enables writing universal apps with great UX & DX.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants