Chapter quiz · Components & Glimmer

Test what you learned.

8 questions on Components & Glimmer. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Components & Glimmer — Chapter Quiz

Eight questions on Glimmer components, tracked properties, actions, and blocks.

0/ 9
  1. Question 1
    1

    Which base class do modern Ember components extend?

  2. Question 2
    2

    How are component arguments accessed inside the class?

  3. Question 3
    3

    What does @action do?

  4. Question 4
    4

    {{on}} is Ember's modern way to attach DOM listeners and is essentially addEventListener with automatic cleanup.

  5. Question 5
    5

    Which modifier runs once when an element is inserted into the DOM?

  6. Question 6
    6

    The block-yielding keyword in a component template is ___.

  7. Question 7
    7

    Which patterns correctly mutate a tracked array so the UI re-renders?

    Select all that apply.

  8. Question 8
    8

    What does the fn helper do?

Pick an answer — instant feedback as you go.