React and Hooks

React and Hooks

Professional Development

10 Qs

quiz-placeholder

Similar activities

Html dasar

Html dasar

1st Grade - Professional Development

7 Qs

CSS and JQuery

CSS and JQuery

Professional Development

9 Qs

The Language Sloth - HTML Pop Quiz

The Language Sloth - HTML Pop Quiz

7th Grade - Professional Development

10 Qs

HTML

HTML

Professional Development

10 Qs

everisCodeFest 5

everisCodeFest 5

Professional Development

10 Qs

HTML

HTML

Professional Development

9 Qs

Tutorial 5

Tutorial 5

Professional Development

10 Qs

HTML теги для оформления текста.

HTML теги для оформления текста.

Professional Development

10 Qs

React and Hooks

React and Hooks

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Farabi Chowdhury

Used 130+ 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?