TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Graphql.js: A Simple and Isomorphic GraphQL Client for JavaScript

77 pointsby fkaover 6 years ago

10 comments

spsotoover 6 years ago
Good job on creating a lightweight client. Apollo can be overkill for smaller projects.<p>You should be careful with the name though because it&#x27;s named the same as the official reference implementation of the backend: <a href="https:&#x2F;&#x2F;github.com&#x2F;graphql&#x2F;graphql-js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;graphql&#x2F;graphql-js</a>.
评论 #18211596 未加载
jeswinover 6 years ago
Nice project, and congratulations on release. Could you compare this to Apollo Client? What are some advantages and disadvantages?
评论 #18211585 未加载
blumomoover 6 years ago
Bravo! Despite the fact that it doesn&#x27;t have caching built in, which isn&#x27;t needed by everyone, I&#x27;m glad to see that the GraphQL ecosystem gets much richer by having alternatives to the fat libraries Apollo and Relay. Well done and thank you!
评论 #18212623 未加载
brandoncordellover 6 years ago
Just deployed this to production. It was by far the best js client I found for my needs.<p>I would love to see some sort of mutation batching if that&#x27;s not too far out of the scope of the project. Right now I&#x27;m just using a class to build mutations in bulk and send them across in a single POST.
borplkover 6 years ago
Nice job. I&#x27;d also suggest picking a different name. Maybe a prefix before graphql or something like that.
评论 #18212023 未加载
jlouisover 6 years ago
When Javascript projects write &quot;Isomorphic&quot;, what do they mean?<p>It certainly isn&#x27;t isomorphic in the usual sense in Math of a bijection between structures (categories), because even if it were it is a special case of some kind.
评论 #18213373 未加载
评论 #18213189 未加载
评论 #18213475 未加载
guntarsover 6 years ago
I’m all for a lightweight GraphQL client, but does this do any client side caching? Query diffing? Query merging? To me those are the killer features enabled by GraphQL.
评论 #18211580 未加载
d2kxover 6 years ago
When using AWS, the GraphQL client in AWS&#x27; Amplify library is also nice if one doesn&#x27;t need offline&#x2F;caching support.
m34over 6 years ago
I spent a good amount of time getting AWS AppSync to work with different GraphQL clients last week.<p>Looking forward to check out this one.<p>Thanks for sharing!
评论 #18212626 未加载
titaniczeroover 6 years ago
Since is lightweight, I guess it doesn&#x27;t support transport batching, doesn&#x27;t it? It&#x27;s a must-have for me<p>Anyway, good job!
评论 #18212122 未加载