facebook / react-native-website

The React Native website and docs
https://reactnative.dev
MIT License
1.91k stars 4.34k forks source link

App.js is referenced in the Quick Start, but not present. #4114

Closed naspinski closed 1 month ago

naspinski commented 1 month ago

Description

The Quick Start state:

Now that you have successfully run the app, let's modify it. Open App.js in your text editor of choice and edit some lines.

But when you create a new app using this method, there is no App.json file which is a bit confusing in addition to the App.js being referenced in most other documentation. image

Could this please be clarified?

Documentation version

Apr 22, 2024

cortinico commented 1 month ago

Now that you have successfully run the app, let's modify it. Open App.js in your text editor of choice and edit some lines.

This can be updated to App.tsx now. Are you up for sending a PR? Also the screenshots you show is from a Expo with Expo Router which has a different setup from a vanilla React Native app

apicgg commented 1 month ago

@naspinski Which version of docs are you referring here? You should go with 0.74 in case you starting fresh.

naspinski commented 1 month ago

Yeah, the confusing text is gone now :D