React and Hooks

React and Hooks

Professional Development

10 Qs

quiz-placeholder

Similar activities

HTML

HTML

Professional Development

7 Qs

HTML beginners quiz

HTML beginners quiz

9th Grade - Professional Development

13 Qs

HTML y CSS 1

HTML y CSS 1

Professional Development

10 Qs

Hàm

Hàm

Professional Development

10 Qs

Javascript HTML CSS

Javascript HTML CSS

Professional Development

13 Qs

HTML + CSS

HTML + CSS

KG - Professional Development

10 Qs

JavaScript

JavaScript

Professional Development

12 Qs

Elemento de html5

Elemento de html5

Professional Development

10 Qs

React and Hooks

React and Hooks

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Farabi Chowdhury

Used 131+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which version of React did Hooks add?
15.6
16
16.8
18.1

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What are Hooks?
Class components
Function components
Javascript functions
Lifecycle methods

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is not an in-build hook?
useEffect
useFetch
useState
useRef

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

In which phase of lifecycles do the states initialise?
Updating
Mounting
Unmounting
Both 1 and 2

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which won't cause re-render in the component?
Changes in state
Changes in props
Changes in .current of useRef
Changes in dependency array of useEffect

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is(are) correct methods to create reactJS component
class MyComponent extends React.Component { render() { return ( <div>Demo</div> ) } }
const MyComponent = () => { return ( <div>Demo</div> ) }
function MyComponent = () => { return ( <div>Demo</div> ) }
Only a
a, b and c

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

We can integrate reactJS in any of the existing web app
true
false

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?