react-native-community / RNNewArchitectureApp

A collection of sample React Native Apps that will show you how to use the New Architecture (Fabric & TurboModules) step-by-step.
MIT License
202 stars 30 forks source link

Changed react-native init command to include the specific RN version #33

Closed KartikShankhavaram closed 11 months ago

KartikShankhavaram commented 1 year ago

The current command causes ruby errors when run as-is, but according to this example, the call should be npx react-native@X.XX.X init AwesomeApp --version X.XX.X

KartikShankhavaram commented 1 year ago

CC @cortinico

cortinico commented 1 year ago

The docs should be update to invoke npx react-native@latest init instead

KartikShankhavaram commented 1 year ago

This command is meant to create a project with an older RN version in order to showcase how to upgrade to the "latest" RN version, so react-native@latest does not make sense for it.