React JS

React JS

KG - 3rd Grade

8 Qs

quiz-placeholder

Similar activities

React Initiation

React Initiation

2nd Grade

5 Qs

React Native

React Native

KG

9 Qs

3TEC_AV4_2TRI - PROGRAMAÇÃO MOBILE_29 AO 32

3TEC_AV4_2TRI - PROGRAMAÇÃO MOBILE_29 AO 32

University

11 Qs

React Native e Componentes básicos

React Native e Componentes básicos

12th Grade

12 Qs

Quiz sobre ReactJS y Styled-Components

Quiz sobre ReactJS y Styled-Components

11th Grade

11 Qs

React Quiz

React Quiz

University

10 Qs

React-Native Mastermind Challenge

React-Native Mastermind Challenge

University

10 Qs

QZ_React 01_01

QZ_React 01_01

1st - 5th Grade

12 Qs

React JS

React JS

Assessment

Quiz

Computers

KG - 3rd Grade

Medium

Created by

Tracy Smith

Used 213+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct command to create a new React project?

npx create-react-app my-app

npm create-react-app my-app

npx create-react-app

npm create-react-app my-app

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'my-app' refer to in the command

npx create-react-app my-app?

The directory that you want to create your app in

The type of app you want to create

The name you want to use for your new app

The name of an existing app

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to start the React local development server?

npm run

npm start

npm run dev

npm build

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the children prop?

A property that lets you pass data to child components

A property that lets you nest components in other components

A property that lets you set an object as a property

A property that lets you add child values to state

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

React components must start with a capital letter

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator can be used to conditionally render a React component?

??

||

::

&&

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When rendering a list using the JavaScript map() method, what is required for each element rendered?

id

data

key

index

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a rule for React Hooks?

Hooks cannot be conditional

Hooks can only be called at the top level of a component

Hooks can be called in class or function components

Hooks can only be called in inside React function components