Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.39 KB

README.md

File metadata and controls

21 lines (12 loc) · 1.39 KB

Fragment Colocation Sample App

Used in the article 👉 GraphQL の Fragment Colocation を導入したら依存関係がスッキリしてクエリもコンポーネントも書きやすくなった.

The sample application to colocate GraphQL operations using fragments with React Components. This app is based on next.js.examples/api-routes-apollo-server-and-client.

component_image

Correspondence between a query and components

Before using fragments

before_colocate

After using fragments

after_colocate