πŸ§ͺ Ext JS MCQ Quiz Hub

React JS MCQ

Choose a topic to test your knowledge and improve your Ext JS skills

In React what is used to pass data to a component from outside?





βœ… Correct Answer: 3

In which directory React Components are saved?





βœ… Correct Answer: 1

At the highest level, React components have lifecycle events that fall into





βœ… Correct Answer: 4

How many elements does a react component return?





βœ… Correct Answer: 2

How do you write an inline style specifying the font-size:12px and color:red; in JSX





βœ… Correct Answer: 3

What is a good use case for using a function while rendering a dynamic list of items





βœ… Correct Answer: 1

What is a good use case for using a function while rendering a dynamic list of items





βœ… Correct Answer: 1

Which of the following is correct syntax for a button click event handler, foo?





βœ… Correct Answer: 3

Which method is not part of ReactDOM?





βœ… Correct Answer: 2

Which of the following API is a MUST for every ReactJS component?





βœ… Correct Answer: 2

What is a controlled input element?





βœ… Correct Answer: 4

What is the second argument for setState useful for?





βœ… Correct Answer: 1

What happens when the following render() method executes?<br /><br /> render(){<br /> let langs = ["Ruby","ES6","Scala"]<br /> return (<div><br /> {langs.map(it => <p>{it}</p>)}<br /> </div>)<br /> }<br />





βœ… Correct Answer: 1

What are the two ways that data gets handled in React?





βœ… Correct Answer: 1

Everything in react is





βœ… Correct Answer: 4

What function allows you to render React content in an HTML page?





βœ… Correct Answer: 4

What is JSX?





βœ… Correct Answer: 1

What function can be used to update state?





βœ… Correct Answer: 1

Who Develop React.js?





βœ… Correct Answer: 2

When it is recommended to pass this.setState as a function instead of an object?





βœ… Correct Answer: 2

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





βœ… Correct Answer: 1

What is state in React?





βœ… Correct Answer: 2

Life cycle methods of a components fall under following categories?





βœ… Correct Answer: 3

One can define default values for properties, props, using which of the following method?





βœ… Correct Answer: 1

What is the DOM?





βœ… Correct Answer: 1

Variabel default React JS





βœ… Correct Answer: 4

There are two types of components in React JS





βœ… Correct Answer: 2

Axios is an __________?





βœ… Correct Answer: 3

.............. helps react for keeping their data unidirectional.





βœ… Correct Answer: 2

Who is the father of React.js?





βœ… Correct Answer: 2

Mit welchem Befehl starten wir die React App?





βœ… Correct Answer: 3

What is ReactJS?





βœ… Correct Answer: 3

React is for building _________





βœ… Correct Answer: 2

What is Axios in Node?





βœ… Correct Answer: 2

React.Js is a __________?





βœ… Correct Answer: 2

React.Js was created by ___________?





βœ… Correct Answer: 3

Which concept includes OOP's?





βœ… Correct Answer: 2

What is React.Js used for?





βœ… Correct Answer: 2

What was the Output?const [data , setData] = useState("Alex");console.log(data);





βœ… Correct Answer: 2

Perulangan dalam React JS dapat dilakukan dengan menggunakan





βœ… Correct Answer: 1

Penulisan kode yang benar untuk array function





βœ… Correct Answer: 2

Salah satu jenis Router dalam React JS





βœ… Correct Answer: 3

_____ Home from './components/Home';Lengkapi Code di atas





βœ… Correct Answer: 1

React JS memiliki sintaks ekstensi javascript yang disebut dengan





βœ… Correct Answer: 4

React JS merupakan





βœ… Correct Answer: 4

Penulisan Sintaks dengan ekstensi Java Script yang benar adalah





βœ… Correct Answer: 2

Untuk menghubungkan Back-End dan Front-End diperlukan penggunaan __





βœ… Correct Answer: 1

Variabel yang dapat dipanggil di dalam komponen lain dalam React JS dan juga menghubungkan Komponen satu dengan yang lain





βœ… Correct Answer: 1