React-Hooks

React-Hooks

Professional Development

12 Qs

quiz-placeholder

Similar activities

React JS

React JS

Professional Development

15 Qs

React Two - Styling

React Two - Styling

Professional Development

11 Qs

Diagnóstico Node.js

Diagnóstico Node.js

Professional Development

10 Qs

¡Frontend check!

¡Frontend check!

Professional Development

10 Qs

SLG IPC144 Week 11

SLG IPC144 Week 11

Professional Development

15 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

L07: Null Object Pattern

L07: Null Object Pattern

Professional Development

8 Qs

Javascript Array and Object

Javascript Array and Object

University - Professional Development

9 Qs

React-Hooks

React-Hooks

Assessment

Quiz

Computers

Professional Development

Medium

Created by

agustin kenny

Used 32+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

useState devuelve ...

una funcion

un objeto

un array

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

¿Cual es el analogo a mapStateToProps en Hooks?

useSelector()

useReducer()

useDispatch()

useState()

useEffect()

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

¿Qué hace el siguiente código? Seleccione la/s opción/es correcta/s

const [name, setName] = useState('Juana');

if(name === 'Juana'){ setName('Pedro'); } console.log(name);

Creo un estado local para un componente

El console.log me muestra 'Juana'

Creo un estado global para toda mi aplicación

El console.log me muestra 'Pedro'

Que buena pregunta

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Los Hooks fueron creados para trabajar con componentes de función

Verdadero

Falso

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

useDispatch() devuelve una referencia a la función de dispatch

Verdadero

Falso

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

El siguiente código ..

const name = useState(); name.setState('Juana');

Es correcto

Es incorrecto

e

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

¿Se puede ejecutar componentDidMount, componentDidUpdate, y componentWillUnmount en componentes de función?

No

Si

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?