Quiz on GraphQL Mutation with Higher-Order Components

Let's test your knowledge now!

Quiz

1

When should you use a Render Prop over a Higher-Order Component?

A)

Having a clearer separation between data-layer and view layer.

B)

Having no access to the local state of the component where the Render Prop is used.

C)

Keeping your data-layer concise by inserting the data-layer into the view-layer instead of co-locating both layers.

D)

Having a more intuitive way of using props from the component in the Query and Mutation components.

Question 1 of 30 attempted

Get hands-on with 1400+ tech skills courses.