From 715367145f0bcd0d4c5be6795b9848fe14954c68 Mon Sep 17 00:00:00 2001 From: Martin Cerny Date: Sun, 29 Oct 2017 22:58:00 -0700 Subject: [PATCH] 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 --- docs/GettingStarted.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 5549e1fa9..2be335143 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -583,12 +583,12 @@ 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. - Hit `⌘R` in your iOS Simulator to reload the app and see your changes! -- 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! @@ -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!