TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

77 点作者 fka超过 6 年前

10 条评论

spsoto超过 6 年前
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 未加载
jeswin超过 6 年前
Nice project, and congratulations on release. Could you compare this to Apollo Client? What are some advantages and disadvantages?
评论 #18211585 未加载
blumomo超过 6 年前
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 未加载
brandoncordell超过 6 年前
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.
borplk超过 6 年前
Nice job. I&#x27;d also suggest picking a different name. Maybe a prefix before graphql or something like that.
评论 #18212023 未加载
jlouis超过 6 年前
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 未加载
guntars超过 6 年前
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 未加载
d2kx超过 6 年前
When using AWS, the GraphQL client in AWS&#x27; Amplify library is also nice if one doesn&#x27;t need offline&#x2F;caching support.
m34超过 6 年前
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 未加载
titaniczero超过 6 年前
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 未加载