Abhishek kumar - Study24x7
Social learning Network
Abhishek kumar Cover image
Abhishek kumar
Abhishek kumar
Connections 5
Followers 6
Following 7
study24x7Abhishek kumar

Abhishek kumar

Live in India,
  • Profile
  • About
  • Connections
About
No user info
04 Oct 2023 06:29 PM study24x7 study24x7

Which of the following is a must API for every React.js component?

A

SetinitialComponent

B

renderComponent

C

render

D

All of the above

study24x7
Write a comment
04 Oct 2023 06:16 PM study24x7 study24x7

What are the two ways to handle data in React?

A

State & Props

B

Services & Components

C

State & Services

D

State & Component

study24x7
Write a comment
04 Oct 2023 06:09 PM study24x7 study24x7

What is a state in React?

A

A permanent storage.

B

Internal storage of the component.

C

External storage of the component.

D

None of the above.

study24x7
Write a comment
04 Oct 2023 06:00 PM study24x7 study24x7

How many ways of defining your variables in ES6?

A

1

B

3

C

4

D

5

study24x7
Write a comment
04 Oct 2023 04:42 PM study24x7 study24x7

How many numbers of elements a valid react component can return?

A

1

B

2

C

4

D

5

study24x7
Write a comment
04 Oct 2023 04:39 PM study24x7 study24x7

Which of the following acts as the input of a class-based component?

A

Class

B

Factory

C

Render

D

Props

study24x7
Write a comment
04 Oct 2023 04:37 PM study24x7 study24x7

What of the following is used in React.js to increase performance?

A

Original DOM

B

Virtual DOM

C

Both A and B.

D

None of the above.

study24x7
Write a comment
04 Oct 2023 04:36 PM study24x7 study24x7

Which of the following commands is used to install create-react-app?

A

npm install -g create-react-app

B

npm install create-react-app

C

npm install -f create-react-app

D

install -g create-react-app

study24x7
Write a comment
04 Oct 2023 04:31 PM study24x7 study24x7

Which of the following is not a disadvantage of React.js?

A

React.js has only a view layer. We have put your code for Ajax requests, events and so on.

B

The library of React.js is pretty large.

C

The JSX in React.js makes code easy to read and write.

D

The learning curve can be steep in React.js.

study24x7
Write a comment
04 Oct 2023 04:28 PM study24x7 study24x7

Which of the following are the advantages of React.js?

A

React.js can increase the application's performance with Virtual DOM.

B

React.js is easy to integrate with other frameworks such as Angular, BackboneJS since it is only a view library.

C

React.js can render both on client and server side.

D

All of the above

study24x7
Write a comment