Change name of the file to edit
Summary: The text that appears on screen is in App.js component. The project that is being generated using react-native shows `To get started, edit App.js` text when run, but the documentation says to edit index.js file. The text is actually present in App.js, therefore the app is correct, but the documentation is not. [DOCS] [ENHANCEMENT] [GettingStarted.md] - Wrong name of the file to edit Closes https://github.com/facebook/react-native/pull/16550 Differential Revision: D6184953 Pulled By: shergin fbshipit-source-id: c7385a349de8983aff80af8b393b3a973b4ef5cf
This commit is contained in:
parent
4c05ede977
commit
715367145f
|
@ -583,12 +583,12 @@ Now that you have successfully run the app, let's modify it.
|
|||
|
||||
<block class="native mac ios" />
|
||||
|
||||
- Open `index.js` in your text editor of choice and edit some lines.
|
||||
- Open `App.js` in your text editor of choice and edit some lines.
|
||||
- Hit `⌘R` in your iOS Simulator to reload the app and see your changes!
|
||||
|
||||
<block class="native mac android" />
|
||||
|
||||
- Open `index.js` in your text editor of choice and edit some lines.
|
||||
- Open `App.js` in your text editor of choice and edit some lines.
|
||||
- Press the `R` key twice or select `Reload` from the Developer Menu (`⌘M`) to see your changes!
|
||||
|
||||
<block class="native windows linux android" />
|
||||
|
@ -597,7 +597,7 @@ Now that you have successfully run the app, let's modify it.
|
|||
|
||||
Now that you have successfully run the app, let's modify it.
|
||||
|
||||
- Open `index.js` in your text editor of choice and edit some lines.
|
||||
- Open `App.js` in your text editor of choice and edit some lines.
|
||||
- Press the `R` key twice or select `Reload` from the Developer Menu (`Ctrl + M`) to see your changes!
|
||||
|
||||
<block class="native mac ios android" />
|
||||
|
|
Loading…
Reference in New Issue