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

fabric(new arch): The app bundle includes both Fabric & Paper React Native renderers #34464

Closed
ecreeth opened this issue Aug 21, 2022 · 6 comments
Labels
Platform: Linux Building on Linux. Resolution: Answered When the issue is resolved with a simple answer Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)

Comments

@ecreeth
Copy link
Contributor

ecreeth commented Aug 21, 2022

Description

These always use the paper renderer:

Version

0.70.0-rc.3

Output of npx react-native info

System:
OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish)
CPU: (4) x64 Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
Memory: 2.41 GB / 13.64 GB
Shell: 5.1.16 - /bin/bash
Binaries:
Node: Not Found
Yarn: Not Found
npm: Not Found
Watchman: Not Found
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Languages:
Java: 11.0.16
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.0-rc.3 => 0.70.0-rc.3
npmGlobalPackages:
react-native: Not Found

Steps to reproduce

  1. Bundle the app
  2. See both renderes shipped

Snack, code example, screenshot, or link to a repository

image

@ecreeth ecreeth added Needs: Triage 🔍 Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules) labels Aug 21, 2022
@ecreeth
Copy link
Contributor Author

ecreeth commented Aug 22, 2022

@cipolleschi This should lead to unexpected behavior

@ecreeth
Copy link
Contributor Author

ecreeth commented Sep 8, 2022

This is now fixed by:

@ecreeth ecreeth closed this as completed Sep 8, 2022
@ecreeth
Copy link
Contributor Author

ecreeth commented Oct 4, 2023

I can confirm that this happen even in 0.73.0-RC.1
image

@ecreeth ecreeth reopened this Oct 4, 2023
@kesha-antonov
Copy link
Contributor

I can confirm that this happen even in 0.73.0-RC.1 image

Same problem

Can't get rid of React-Fabric. It's always in Podfile.lock and flags are on

@cipolleschi
Copy link
Contributor

cipolleschi commented Oct 7, 2023

The fact that React-Fabric is in the Podfile.lock is not bound to the renderer, which is a .js file.
The Podspecs only controls the iOS native side of things, no JS involved, and we need the React-Fabric pod in both the architectures for the RuntimeScheduler.

@javache
Copy link
Member

javache commented Oct 27, 2023

This is a known issue, and will not be resolved until the new architecture is fully rolled out and paper removed.

You could consider patching RendererImplementation locally to remove references to ../Renderer/shims/ReactNative if this is blocking you.

@javache javache closed this as completed Oct 27, 2023
@cortinico cortinico added Resolution: Answered When the issue is resolved with a simple answer and removed Needs: Triage 🔍 labels Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Linux Building on Linux. Resolution: Answered When the issue is resolved with a simple answer Type: New Architecture Issues and PRs related to new architecture (Fabric/Turbo Modules)
Projects
None yet
Development

No branches or pull requests

6 participants