Search Header Logo

React

Authored by Yacine Hamdada

Computers

1st Grade

Used 6+ times

React
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is ReactJS?

User-interface framework

Library for building interaction interfaces

Server side Framework

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

React is mainly used for building :

Database

Connectivity

Node application

User Interface

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

___ can be done while multiple elements need to be returned from a component.

Packing

Abstraction

Wrapping

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is used to pass data to a component from outside?

setState

conditional rendering

props

PropTypes

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following methods in a React Component is called after the component is rendered for the first time?

componentDidUpdate

componentDidMount

componentUpdate

componentRender

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is the correct syntax for a button click event handler foo? (using functional component)

<button onclick={this.foo()}>

<button onclick={() => foo}>

<button onClick={() => foo}>

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is a state in React?

A persistent storage.

An internal data store (object) of a component.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?