A GraphQL client without queries ✨ ↦
So you just access the GraphQL data in your application like so:
const App = () => (
<div>
{query.me.name}
{query.users({ limit: 10 }).map(user => (
<div key={user.id}>{user.name}</div>
))}
</div>
)
And behind the scenes gqless
generates the queries for you like so:
query App {
me { name }
users(limit: 10) {
id
name
}
}
Discussion
Sign in or Join to comment or subscribe