DEV Community

Discussion on: React Hook around Apollo GraphQL mutation

Collapse
 
shepeliev profile image
Dmytro Shepeliev

Hi Max!

Thanks for sharing your experience! May you please describe what are benefits using you approach versus graphql HOC?

Collapse
 
max_frolov_ profile image
Max Frolov

This approach allows you to:
1) keep things reusable
2) keep things in one place