Quiz: Reusable Code

Test your knowledge about mixins, renderless components, and inheritance.

Quiz: Reusable Code

1

Imagine the following. You have a component that displays the user’s avatar and username in the top navigation and a component that allows the user to edit their avatar and username. Both need to load user data. Where would you put the user data loading?

A)

Inherited renderless component

B)

Mixin

Question 1 of 80 attempted

Get hands-on with 1200+ tech skills courses.