O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

React Interview

Orlando Flores 9 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (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

Informações

Descrição
Informática y Comunicaciones Quiz sobre React Interview, criado por Orlando Flores em 15-05-2024.
Idioma
Español
Visualizações
0
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?