• 10 heures
  • Moyenne

Ce cours est visible gratuitement en ligne.



J'ai tout compris !

Mis à jour le 07/02/2020

Understanding React

Connectez-vous ou inscrivez-vous gratuitement pour bénéficier de toutes les fonctionnalités de ce cours !

Compétences évaluées

  • Set up a React development environment
  • Question 1

    1. Which of these problems is React least suited to address?
    • Disorganized code that often breaks in unpredictable ways when changes are made.

    • Sluggish UI interactions.

    • Slow initial page loads leading to a high bounce rate.

    • Too many variables on the global "window" object.

  • Question 2

    Which of these statements is true about React components?

    Attention, plusieurs réponses sont possibles.
    • Components are similar to functions in Javascript, and can be written as functions.

    • Components are modular UI elements.

    • It's OK for components to directly mutate each others' state.

    • It's OK to nest components. This is called composition.

  • Question 3

    Which of these statements is true?

    Attention, plusieurs réponses sont possibles.
    • EmberJS and Angular 2 are powerful frameworks, but only React can be rendered on the server side with Node JS.

    • EmberJS and Angular both separate template files from Javascript, whereas in React you just build elements directly in Javascript.

    • React is a monolithic web framework that benefits from having a community that all uses the same build tools.