Comments (5)
Starting with 0.73, Hermes is going to be the only viable option for Android and Windows. Chakra is dead. A --use-hermes
would only apply to Apple platforms.
I'm going to put down "Hermes as default on iOS/macOS/visionOS in newly created projects" if there are no objections. This will be a very visible oneliner in Podfile
and can be easily turned off if necessary.
from react-native-test-app.
Should defaulting to Hermes being enabled be included in this, to match the RN template?
So there are two ways we can go about this: 1) enable Hermes by default when generating new projects or 2) enable Hermes by default if this option is unset.
On Android, you can't disable Hermes. On Windows, Hermes is on by default starting with 0.73. iOS/macOS/visionOS currently default to JSC.
Internally at Microsoft, we don't use Hermes on Apple platforms due to the increased bundle size. I'd prefer that we stay closer to this than what Meta currently recommends. I'm not opposed to implementing solution 1 though.
Paging @acoates-ms @kelset @Saadnajmi for more opinions.
from react-native-test-app.
Should defaulting to Hermes being enabled be included in this, to match the RN template?
from react-native-test-app.
I'd also vouch for us keeping the default config closer to our internal needs; maybe we can revisit once RNTA reached a new major where 0.73 is the minimum version supported to match the Windows behaviour? 🤔 Also I'm not super familiar about viability of Hermes on macOS and visionOS.
Is there a flag we can pass when generating a RNTA project that sets Hermes? Like, yarn configure-test-app --use-hermes
? If not, maybe that could be a quick tradeoff to make the DX smooth for folks that want to use Hermes?
from react-native-test-app.
I'm personally in favor of using Hermes as the default for new projects (solution 1), though it may vary by platform. To answer @kelset , Hermes works on macOS and visionOS both.
from react-native-test-app.
Related Issues (20)
- iOS/macOS: add ability to customize `Info.plist`
- [email protected] cannot be added because it does not exist or is unsupported HOT 3
- Files are generated under the wrong folder if no `node_modules` folder exists
- Add support for `react-native` 0.73
- Add support for `react-native` 0.74 HOT 1
- Action Required: Fix Renovate Configuration
- Optional app.json component parameter to specify supported platforms for component HOT 8
- Quick start wiki has incorrect command in Macos section HOT 1
- Generate code from `app.json` and avoid parsing JSON at runtime HOT 3
- Add support for Bridgeless Mode
- `bundleRoot` ignored on apple HOT 1
- Improve the docs: add npm examples HOT 3
- iOS / Android Assets HOT 7
- Adding Cocoapods minimum version requirement when setting up a project HOT 5
- Fresh install fails on Windows (Latest version as of this issue) HOT 1
- Is react-native-test-app's only use case: library testing or can it be used for production apps as well HOT 2
- Windows: Re-enable builds with NuGet
- Add support for `react-native` 0.75
- Testing against multiple RN versions HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-test-app.