React Reviewer W3

0.0(0)
studied byStudied by 14 people
0.0(0)
full-widthCall with Kai
GameKnowt Play
New
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

What command do we use to create a new React Application?

npx create-react-app <filename>

2
New cards

What command do we use to start running a React project?

npm start

3
New cards

In React, what do we call a reusable piece of code that represents a part of the user interface?

Component

4
New cards

Which React folder servers as the location for all source code files?

src

5
New cards

Which React folder is commonly used to store images, attachments, and static files?

public

6
New cards

What do we call the method of passing data from a parent component to a child component?

Props/Properties

7
New cards

If we have a component function QuizTwo stored in components/QuizTwo.js, how do we import it into App.js? (2pts)

import QuizTwo from ‘. /components/QuizTwo’;

8
New cards

What do we call a set of data grouped into a collection, often used in React for rendering lists?

Dataset

9
New cards

If we have a component function QuizTwo, how do we export it properly from QuizTwo.js so it can be reused? (2pts)

export default QuizTwo;

10
New cards

Which UI library of React provides ready-to-use components to help build interactive user interfaces quickly?

Ant Design

11
New cards

Create a simple React functional component called SubjectName that will display your subject name. (4 pts)

Output: We are studying Integrative Programming and Technologies!

12
New cards

Write a simple props component MyName function that will pass your name into the function. (4 pts)
Also, indicate how to use the function in the App. js file.

Output: I am (name), and I will pass this subject.