The Vocabulary Board
Reading the Code
Bugs & Red Screens
Behind the Curtain
Apps We Actually Use
100

This term describes a reusable piece of a screen, like a single button, picture, or line of text, the building blocks every screen is made of.

What is a component?

100

The four parts every React Native file always has, in the same order.

What are imports, component, return, and styles?

100

This is what a red screen actually means, and it's not failure.

What is an error, pointing you right at the problem so you can fix it?

100

The reason a red screen is described as a "friend" rather than a failure.

What is: it points directly at the problem so you can fix it?

100

Name two real apps mentioned in class that were built using React Native.

What are two of: Discord, Amazon Shopping, Instagram, or the NFL App?

200

Grab a pencil and write the exact line of code that displays a picture in the return section, using a constant called myPicture.

What is <Image source={{uri: myPicture}} />?

200

Unlike View or Text, this components tag closes itself with a slash instead of a separate closing tag.

What is Image (<Image />)?

200

These are the two most common JSX mistakes that cause a red screen.


What are Capitalization and Self-Closing tags?

OR

What are forgetting to capitalize a component and forgetting to self-close a tag like <Image />?

200

The reason comments look different inside the return section ({/* */}) versus outside it (//).

What is: JSX has its own rules for what counts as code versus a note, so it needs its own comment style?

200

In a Spotify song row, these three separate components sit right next to each other to make one row.

What are a picture, some text, and a button?

300

The empty space on the INSIDE of a component, between its edge and whatever's inside it.

What is padding?

300

The pattern a component uses to point to its look in the StyleSheet, written as style={styles.___}.

What is a style name, like styles.title?

300

This bug happens when a style's name in the StyleSheet doesn't exactly match the name on the component, and it never turns the screen red.

What is the sneaky rename bug?

300

The reason changing just one flexbox property, like justifyContent, can rearrange an entire screen at once.

What is: flexbox is the invisible arranger repositioning everything, so one change moves the whole layout?

300

Before changing any code, students were told to look at their screen honestly, like one of these, to judge if it felt centered and balanced.

What is a user?

400

This line of code, with a screen name inside its parentheses, tells the app where to go.

What is navigate() or navigation.navigate('ScreenName')?

400

The two words used to read navigation.navigate('Screen2'); out loud, describing exactly what the app should do.

What is "Navigate to Screen 2"?

400

This is the error you get if you rename a route so it no longer matches App.js.

What is an unhandled action error?

400

The reason App.js is never touched all sprint, even though it's the file that connects both screens.

What is: it already wires the two screens together correctly, and editing it could break navigation?

400

This everyday app behavior, tapping something, moving somewhere new, and sometimes going back, is controlled by this system.

What is navigation?

500

Grab a pencil and write the exact useState line that creates a piece of state called count, starting at zero.

What is const [count, setCount] = useState(0);?

500

The three parts of this line, in order: const [count, setCount] = useState(0);

What are the value, the updater function, and the starting value?

500

If a leftover // is left in front of a line copied from the Parts Bin, this is what happens on screen instead of a red screen.

What is nothing? The feature just silently doesn't appear.

500

The reason a state value resets to its starting point after you navigate away from a screen and back.

What is: React Native rebuilds that screen from scratch, so any state inside it starts over?

500

Tapping a heart on a post updates the like count instantly and changes the heart's color, with no page refresh. According to the lesson, this is the specific thing being tracked as state.

What is the like count?

M
e
n
u