¡GoConqr estrena diseño! Cuéntanos qué te parece.

Test

React Interview

Orlando Flores 9 preguntas

Hacer el test

Este test tiene tipos de pregunta que se abren en el reproductor de siempre.

Preguntas del test (9)

  1. 1Why is using `.map()` better than just creating the components manually by typing them out?

    It makes our code more "self-[blank_start]sustaining[blank_end]" - not requiring additional changes whenever the data changes.
    1. Asustaining
    2. Baccurate
    3. Ctemplate
  2. 2Why is using `.[blank_start]map[blank_end]()` better than just creating the components manually by typing them out?

    It makes our code more "self-sustaining" - not requiring additional changes whenever the data changes.
    1. Amap
    2. Bfilter
    3. Creduce
  3. 3You have 2 options for what you can pass in to a state setter function (e.g. `setCount`). What are they?

    * [blank_start]New[blank_end] value of state (setCount(42))
    * Callback function - whatever the callback function returns === new value of state
    1. ANew
    2. BAnother
    3. CPrevious
  4. 4You have 2 options for what you can pass in to a state setter function (e.g. `setCount`). What are they?

    * New value of state (setCount(42))
    * [blank_start]Callback[blank_end] function - whatever the callback function returns === new value of state
    1. ACallback
    2. BSetter
    3. CMiddleware
  5. 5You have 2 options for what you can pass in to a state [blank_start]setter[blank_end] function (e.g. `setCount`). What are they?

    * New value of state (setCount(42))
    * Callback function - whatever the callback function returns === new value of state
    1. Asetter
    2. Bcallback
    3. Cmiddleware
  6. 6Which attribute in the form elements (value, name, onChange, etc.) should match the property name being held in state for that input?

    `[blank_start]name[blank_end]` property.
    1. Aname
    2. Bvalue
    3. ConChange
  7. 7When would you want to use [blank_start]state[blank_end] instead of props?

    Anytime you want a component to maintain some values from within the component. (And "remember" those values even when React re-renders the component).
    1. Astate
    2. Bvalues
    3. Cconst
  8. 8When would you want to use state instead of [blank_start]props[blank_end]?

    Anytime you want a component to maintain some values from within the component. (And "remember" those values even when React re-renders the component).
    1. Aprops
    2. Blet
    3. Ccallback
  9. 9When would you want to use state instead of props?

    Anytime you want a component to maintain some values from within the [blank_start]component[blank_end]. (And "remember" those values even when React re-renders the component).
    1. Acomponent
    2. Bfunction
    3. Cmodule

Información

Descripción
Informática y Comunicaciones Test sobre React Interview, creado por Orlando Flores el 15/05/2024.
Idioma
Español
Visitas
0
Valoración
Aún sin valoraciones
Valora este test
Valora este test

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?