Skip to content

Commit be8af22

Browse files
huntiefacebook-github-bot
authored andcommitted
Add debugging docs link to NewAppScreen (facebook#37552)
Summary: Pull Request resolved: facebook#37552 - Add debugging docs link to `NewAppScreen`. - Align "React Native debug menu" term in `DebugInstructions` to "Dev Menu". Changelog: [General][Changed] Add debugging docs link to new app screen Reviewed By: cortinico Differential Revision: D46149252 fbshipit-source-id: 20e624cebeded1e44e858eec849b9b4c47b34c52
1 parent 3a9b874 commit be8af22

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

packages/react-native/Libraries/NewAppScreen/components/DebugInstructions.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ const DebugInstructions: () => Node = Platform.select({
2525
ios: () => (
2626
<Text>
2727
Press <Text style={styles.highlight}>Cmd + D</Text> in the simulator or{' '}
28-
<Text style={styles.highlight}>Shake</Text> your device to open the React
29-
Native debug menu.
28+
<Text style={styles.highlight}>Shake</Text> your device to open the Dev
29+
Menu.
3030
</Text>
3131
),
3232
default: () => (
3333
<Text>
3434
Press <Text style={styles.highlight}>Cmd or Ctrl + M</Text> or{' '}
35-
<Text style={styles.highlight}>Shake</Text> your device to open the React
36-
Native debug menu.
35+
<Text style={styles.highlight}>Shake</Text> your device to open the Dev
36+
Menu.
3737
</Text>
3838
),
3939
});

packages/react-native/Libraries/NewAppScreen/components/LearnMoreLinks.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,20 @@ const links = [
6060
},
6161
{
6262
id: 7,
63+
title: 'Debugging',
64+
link: 'https://facebook.github.io/react-native/docs/debugging',
65+
description:
66+
'Learn about the tools available to debug and inspect your app.',
67+
},
68+
{
69+
id: 8,
6370
title: 'Help',
64-
link: 'https://reactnative.dev/help',
71+
link: 'https://facebook.github.io/react-native/help',
6572
description:
6673
'Need more help? There are many other React Native developers who may have the answer.',
6774
},
6875
{
69-
id: 8,
76+
id: 9,
7077
title: 'Follow us on Twitter',
7178
link: 'https://twitter.com/reactnative',
7279
description:

0 commit comments

Comments
 (0)