React and Hooks

React and Hooks

Professional Development

10 Qs

quiz-placeholder

Similar activities

ВебДиз4

ВебДиз4

Professional Development

11 Qs

ILT #1 Web Basic

ILT #1 Web Basic

Professional Development

10 Qs

Web Technology

Web Technology

Professional Development

10 Qs

Html dasar

Html dasar

1st Grade - Professional Development

7 Qs

React-Routing

React-Routing

Professional Development

10 Qs

PERTEMUAN 1 HTML DASAR

PERTEMUAN 1 HTML DASAR

Professional Development

10 Qs

HTML Basics

HTML Basics

Professional Development

15 Qs

JRDL - Adv HTML & CSS

JRDL - Adv HTML & CSS

6th Grade - Professional Development

12 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?