---
title: "Discussion on \"A Better Way to use GraphQL Fragments in React\" | Hashnode"
description: "Discussion on \"A Better Way to use GraphQL Fragments in React\". One of the great reasons to use a component-based framework (React, Vue) is that it allows for more isolated component design, which helps with decoupling and unit-testing. Another benefit is using showcase apps such as Storybook, these continue the ..."
url: "https://hashnode.com/posts/better-way-to-use-graphql-in-react/62114c33c6ed3906e81c32ab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [A Better Way to use GraphQL Fragments in React](https://blog.alec.coffee/better-way-to-use-graphql-in-react?utm_source=hashnode&utm_medium=feed)

One of the great reasons to use a component-based framework (React, Vue) is that it allows for more isolated component design, which helps with decoupling and unit-testing. Another benefit is using showcase apps such as Storybook, these continue the ...

May 12, 2020 · 5 min read · blog.alec.coffee  
Updated Feb 23, 2022  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#graphql](https://hashnode.com/tag/graphql)
-   [#software-architecture](https://hashnode.com/tag/software-architecture)

## Written by

[Alec Brunelle](https://hashnode.com/@aleccool213)

@aleccool213

  
[View profile](https://hashnode.com/@aleccool213)

Full Stack Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
