Online Quiz

12
Created on By dotnetbasic

React Js

1 / 11

What function can be used to change the state of a React component?

2 / 11

Everything in React is called as :

 

3 / 11

Read the following example and give the answer of this questions.

var Helloword=(props)=>
{
return(
<div>
hello world 1
</div>
<div>
Hello world 2
</div>
);
}
ReactDOM.render(<Helloworld/>,mountNode)

What will be the output ?

4 / 11

Number of elements, a valid react component can return

5 / 11

React considers everything as _______.

6 / 11

JSX is faster because it performs ____________ while compiling code to JavaScript

7 / 11

 In JSX most of the errors can be caught during

8 / 11

ref is used to refer a element / component returned by

9 / 11

Lifecycle methods are mainly used ___________.

10 / 11

Arbitrary inputs of components are called __________

11 / 11

 JSX is typesafe...........

Your score is

The average score is 29%

0%

SHARE THIS
Posted Under

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.