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.

A GraphQL client library without queries: Building a movie app with gqless

24 pointsby ecthienderabout 5 years ago

4 comments

eterpsabout 5 years ago
As a backend developer I can&#x27;t help but feeling we have gone full circle. As in, how is this effectively different from regular server side HTML? I know this is rendered on the client, and I&#x27;m not doubting it&#x27;s usefullness, but what advantages does this setup have?<p>I also guess their demo app isn&#x27;t representative of what problems this setup intends to solve:<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;wM5KDPG9Ugk?t=2866" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;wM5KDPG9Ugk?t=2866</a><p>The example whould have been extremely simple to implement in JS&#x2F;TS on the server side, it would also be much faster and have better concurrency, caching and scalability options.
sntranabout 5 years ago
While ES6 proxies are really nice, I came across this experiment (1) and their tests showed that ES6 proxies can be very bad at performance. I could reproduce the test case. Not sure whether this GraphQL client has some way to optimize.<p>1. <a href="https:&#x2F;&#x2F;thecodebarbarian.com&#x2F;thoughts-on-es6-proxies-performance" rel="nofollow">https:&#x2F;&#x2F;thecodebarbarian.com&#x2F;thoughts-on-es6-proxies-perform...</a>
评论 #22637889 未加载
评论 #22638495 未加载
adamklabout 5 years ago
I think this looks very cool, but this quote concerns me:<p><pre><code> If you’re into laziness and magic (who isn’t?) </code></pre> Magic is great until you run into an edge case, or try to do anything complicated. Then it tends to bite you in the ass.<p>I can see this being a great tool for whipping out quick prototypes, but I&#x27;d be scared to use it for anything bigger.<p>That being said, it does look very cool!
评论 #22638473 未加载
tango12about 5 years ago
I&#x27;m excited about the fluent GraphQL ecosystem and to see where it goes! Using the nice syntax of GraphQL does get lost a little bit ofcourse, but having the benefits of being able to &quot;compose&quot; to some degree and not dealing with strings is nice.<p>From the SQL ecosystem, jOOQ is so amazing: <a href="http:&#x2F;&#x2F;www.jooq.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.jooq.org&#x2F;</a><p>This Ruby one was one of the first ones I came across <a href="https:&#x2F;&#x2F;github.com&#x2F;contentful-labs&#x2F;gqli.rb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;contentful-labs&#x2F;gqli.rb</a><p>And then we&#x27;ve been putting together a list here as well: <a href="https:&#x2F;&#x2F;github.com&#x2F;hasura&#x2F;awesome-fluent-graphql" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hasura&#x2F;awesome-fluent-graphql</a>