Start developing Flashcards

1
Q

start a development server

A

npx expo start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Make your first change

A

Open the app/(tabs)/index.tsx in your code editor and make your first change

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

app

A

contains the app’s navigation, which is file based. The file structure of the app directory determines the app’s navigation.

The app has two routes by two files: app/(tabs)/index.tsx and app(tabs)/explore.tsx

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

assets

A

contains adaptive-icon.png used for Android and an icon.png used for iOS as app icons. It contains splash.png which is an image for the project’s splash screen and a favicon.png if the app runs in a browser.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

components

A

ThemedText.tsx, which creates text elements that use the app’s color scheme in light and dark modes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

constants

A

color.ts, which contains a list of color values throughout the app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

hooks

A

allows sharing common behavior between components

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

useThemeColor()

A

a hook that returns a color based on the current theme

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

scripts

A

this can be run with npm run reset-project. This script will move the app directory to app-example, and create a new app directory with an index.tsx file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

app.json

A

contains configuration options for the project and is calle app config. These options change the behavior of your project while developing. submitting, and updating your app

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

babel.config.js

A

babel-present-expo present the extends the default React native preset and adds support for decorators, tree shaking web packages, and loading font icons with optional native dependencies if they’re installed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

package.json

A

contains the project’s dependencies, scripts and metadata

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

tsconfig.json

A

contains the rules that TypeScript will use to enforce type safety throughout the project

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly