...
/Quiz on GraphQL Mutation with Higher-Order Components
Quiz on GraphQL Mutation with Higher-Order Components
Let's test your knowledge now!
We'll cover the following...
We'll cover the following...
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.
1 / 3