After Activity

After Activity

Professional Development

5 Qs

quiz-placeholder

Similar activities

DECI - Week 11 - round

DECI - Week 11 - round

Professional Development

10 Qs

3CX Quiz

3CX Quiz

Professional Development

8 Qs

Examen Parcial Teorico - Desarrollo móvil

Examen Parcial Teorico - Desarrollo móvil

Professional Development

10 Qs

Lession 1 - React.js

Lession 1 - React.js

Professional Development

8 Qs

PL-200 Learning Path 2 - Business Rules

PL-200 Learning Path 2 - Business Rules

Professional Development

6 Qs

Trg@home 1

Trg@home 1

Professional Development

10 Qs

W9D3 Quiz

W9D3 Quiz

Professional Development

3 Qs

React

React

Professional Development

5 Qs

After Activity

After Activity

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Ms STAFF

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following lifecycle methods is available in class components but NOT in functional components?

  • useEffect

  • useState

  • render

componentDidMount

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to pass props to a component?

<Welcome message="Hello" />

<Welcome.prop message="Hello" />

<Welcome.props message="Hello" />

<Welcome, message="Hello">

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In class components, how do you access props?

props.message

this.props.message

message.props

prop.message

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct about JSX?

JSX is mandatory in React

JSX makes HTML writing easier inside JavaScript

JSX is compiled by Python

JSX does not support expressions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to create a basic React app?

npx create-react-app myApp

npm build myApp

react init myApp

create-react-app myApp --init