A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
GraphQL
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
![](http://web.archive.org./web/20240819182150im_/https://preview.redd.it/graphql-making-its-way-into-a-twitter-discussion-about-v0-bvxfihc2r60a1.jpg?width=640&crop=smart&auto=webp&s=c84fd916d0b5020060acfa641b0e74c68d623d33)
![r/webdev - GraphQL making its way into a Twitter discussion about latency is not what I expected](http://web.archive.org./web/20240819182150im_/https://preview.redd.it/graphql-making-its-way-into-a-twitter-discussion-about-v0-bvxfihc2r60a1.jpg?width=640&crop=smart&auto=webp&s=c84fd916d0b5020060acfa641b0e74c68d623d33)
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
I don't expect many upvotes on this post as GraphQL advocates are very very passionate. In fact I've never seen someone advocate so strongly for REST as they do GraphQL. I'm still going to risk my Karma and say it, I prefer REST.
GraphQL is great at first. When I started working with GraphQL I thought it was amazing. I've even given conference sessions discussing GraphQL and the benefits it brings. At the time, I was only consuming GraphQL APIs. From a consumption standpoint, it does get benefits.
Running a GraphQL server brings a completely new perspective. This is why the pain points in the state of GraphQL report all revolve around performance, security, caching, etc. () which are all items that REST does very well.
I'm starting to think the best approach is to build APIs as REST, but then use something like Netlify Connect () to then allow front-end developers to choose GraphQL where desired.
I have also heard analysts and other professionals start calling out GraphQL as a niche solution. One that will stick around, but will not replace REST.
What is your opinion? Do you use GraphQL or REST or something else entirely?
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
![](http://web.archive.org./web/20240819182150im_/https://external-preview.redd.it/graphql-trending-down-v0-jpq_j88FTF49TxGdSpsaiHo6DQBlMqPxg8bG86ihCUI.jpg?width=640&crop=smart&auto=webp&s=545e9603008f574541f1cb99e408ceafbce86c6a)
![r/webdev - GraphQL trending down](http://web.archive.org./web/20240819182150im_/https://external-preview.redd.it/graphql-trending-down-v0-jpq_j88FTF49TxGdSpsaiHo6DQBlMqPxg8bG86ihCUI.jpg?width=640&crop=smart&auto=webp&s=545e9603008f574541f1cb99e408ceafbce86c6a)
/r/frontend is a subreddit for front end web developers who want to move the web forward or want to learn how. If you're looking to find or share the latest and greatest tips, links, thoughts, and discussions on the world of front web development, this is the place to do it.
A couple of years ago, everyone was talking about GraphQL. There were countless tutorials and blog posts on the topic. However, now I barely see articles and videos about it. Do people still use GraphQL?
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
GraphQL was created by Facebook in 2012 for the sole purpose of improving performance on mobile wireless connections. The history is well known, with plenty of presentations from the creators.
In 2012 for the US the average home connection speed was 6.7Mbps, wireless connections (3g) maxed out at 1-3mbps download and less than 1 upload.
Today the average home connection is 119Mbps and mobile 23Mbps.
Mobile internet speeds are faster than home connections when GraphQL was invented. With GraphQL servers being significantly harder to optimize for performance and requests being more difficult to cache, I'm starting to question if GraphQL can still claim to be faster.
Add in the other issues DOS attacks exploiting query complexity, difficulties in securing data, and how much harder it is to host a GraphQL server, and I'm starting to worry about the future of the technology.
It's only one data point, but StackOverflow trends show a leveling off for GraphQL -
I took the time to learn GraphQL and enjoy it as a technology. Since its creation, it's added other benefits beyond speed. So I'm asking the community, would you consider using GraphQL for a future project? Where do you see GraphQL going?
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
Hi everyone
I have dabbled with GraphQL and used it for my to see what all the hype is about. It allows you to fetch only the necessary data you need I get it. However, the challenge is that, when a new property is created on the backend. In such cases, I have to explicitly add that property to the query, for instance.:
services(locale: $locale, pagination: { limit: 100 }) { data { attributes { title text showcase backgroundColor icon { name brands } } } }
I use Apollo. Makes me a bit frustrated that I have to rely on third party packages to implement Gql easier. With REST I only have to rely on built in fetch(). Let's say I have just added the "showcase" property in Strapi, which is a Headless CMS built on Node.js. I need to include that property in the query mentioned above as well. As a result, the query file becomes quite verbose, spanning over a thousand lines. The verbosity of GraphQL in this scenario has made me question whether using REST calls instead would have been a better option. Do you believe this issue can be solved while still using GraphQL? What do you think? You always need to put a new property inside the query every time you create new data on the backend. This isn't the case in REST, You just put
const response = await fetch('https://api.example.com/posts'); const data = await response.json();
and you get everything from posts automatically. Of course you should also consider error handling with try catch for example but the REST code above is minimum.
For Gql you have to write like this:
const { data } = await client.query({ query: GET_SERVICES, variables: { locale: [locale] }, });
And afterwards you need to implement a query like mentioned above. And then who knows you need to change it constantly later on.
The main advantage of GraphQL I can think of is the ability to fetch data from a complex tree of nodes and relationships using a single network request.
A wholesome community made by & for software & tech folks in India. Have a doubt? Ask it out.
How has your experience with GQL been so far?
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
I'm building a notion-like app that has needs realtime collaboration features, and should work offline (on react native).
My current stack is:
-
Postgres DB
-
Apollo server / Express
-
Apollo client
I don't think these are the best tools for my requirements:
-
Realtime is possible through pub/sub but seems like a lot of work / inefficient compared to a reactive solution like or
-
I don't see how to make these tools work for local, offline-first.
I'm still early stages on the development and can probably swap stuff out without too much pain. I like using graphQL, and my app has a lot of interconnected graph-like data, but should I be using something else?
Edit: looks to be a promising library to use
Ask questions and post articles about the Go programming language and related tools, events etc.
Hello guys, I'm a TypeScript developer and have been fascinated by the performance of Go with GraphQL. However, I noticed that the go-graphql library is not maintained. After some research, I tried using gqlgen, but I didn't like it—it felt cumbersome for creating an MVP. Are people still using GraphQL with Go? If so, how are you using it?
A community for discussing anything related to the React UI framework and its ecosystem. Join the Reactiflux Discord (reactiflux.com) for additional React discussion and help.
Subreddit for the Elixir programming language, a dynamic, functional language designed for building scalable and maintainable applications. Learn more at https://elixir-lang.org.
I'm a newbie to Elixir and started learning the basic syntax. My company is using Elixir and Phoenix and I need to learn quick simultaneously phoenix + absinthe + graphQL. I have used various other programming language and web framework.
I cannot wait until I master Elixir to learn phoenix + absinthe + graphQL.
What are some of the best books or websites I can learn it fast track?
/r/frontend is a subreddit for front end web developers who want to move the web forward or want to learn how. If you're looking to find or share the latest and greatest tips, links, thoughts, and discussions on the world of front web development, this is the place to do it.
-
This is The Graph's official Reddit community. The Graph is the indexing and query layer of web3. Developers build and publish open APIs, called subgraphs, that applications can query using GraphQL. Indexing and querying data from blockchains via The Graph allows applications to efficiently and performantly integrate data into all of their product and protocol needs.
members -
Nest (or NestJS) is a framework for building efficient, scalable Node.js server-side applications. It uses progressive JavaScript, is built with and fully supports TypeScript (yet still enables developers to code in pure JavaScript) and combines elements of OOP (Object Oriented Programming), FP (Functional Programming), and FRP (Functional Reactive Programming).
members -
A community for discussing anything related to the React UI framework and its ecosystem. Join the Reactiflux Discord (reactiflux.com) for additional React discussion and help.
members -
Chat about javascript and javascript related projects. Yes, typescript counts. Please keep self promotion to a minimum/reasonable level.
members -
GraphQL latest news, tutorials, blogs, examples & product updates from GraphQL Editor dev team.
members -
Welcome to the Tyk GraphQL & API hangout afterparty. Continue the conversation about all things API and GraphQL here!
members -
members -
A community dedicated to all things web development: both front-end and back-end. For more design-related questions, try /r/web_design.
members -
Ask questions and post articles about the Go programming language and related tools, events etc.
members -
⚡️ Instant GraphQL APIs to build realtime apps & APIs. Connect Hasura to your database & other data sources (REST & GraphQL servers, 3rd party APIs) and get a unified data access layer instantly. https://hasura.io
members -
A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.
members -
TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
members -
.NET Community, if you are using C#, VB.NET, F#, or anything running with .NET... you are at the right place!
members -
members -
Open-source internal tool builder. Quickly build UIs for REST/ GraphQL APIs and databases, with a drag-and-drop interface and 50+ widgets. SUPPORT QUESTIONS? https://discord.com/invite/rBTTVJp https://www.appsmith.com
members -
Vue.js is a library for building interactive web interfaces. It provides data-reactive components with a simple and flexible API.
members -
The official Python community for Reddit! Stay up to date with the latest news, packages, and meta information relating to the Python programming language. --- If you have questions or are new to Python use r/LearnPython
members -
An open-source framework for building admins, ERPs and B2B apps on top of REST or GraphQL APIs. Built with React, TypeScript, react-router, material-ui, react-query, react-hook-form. Used by 25,000 companies worldwide. 24k stars on GitHub.
members -
Share and discover the latest news about the PHP ecosystem and its community. Please respect r/php's rules.
members -
News, articles and tools covering Amazon Web Services (AWS), including S3, EC2, SQS, RDS, DynamoDB, IAM, CloudFormation, AWS-CDK, Route 53, CloudFront, Lambda, VPC, Cloudwatch, Glacier and more.
members -
Weaviate is an open source vector database that stores both objects and vectors, allowing for combining vector search with structured filtering and CRUD operations. It supports modules such as creating embeddings or generating responses via OpenAI, and is accessible through GraphQL, REST, and various language clients.
members -
News, discussions, questions, and ideas about building and operating Microservices and APIs, including microservices deployments, testing, integrations, and design patterns, as well as types of APIs and protocols and documentation standards, such as REST, OpenAPI, Swagger, JSONSchema, RPC and its many variants, gRPC, SOAP, GraphQL, and many more!
members -
Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
members -
Jobs for JavaScript web developers who have experience with or want to learn new technologies such as: React.js, Redux, MobX, Angular 2 & 4, Vue.js, React Native, PhoneGap, Cordova, Ionic, Node.js, Express.js, GraphQL, Webpack, WebAssembly, Meteor.js, Socket.io, Babel, TypeScript, Yarn, NPM, Gulp.js, Grunt.js, WebGL. Also hiring for jobs related to: Lodash, Underscore, jQuery, Backbone.js, Ember.js, Mocha, Jasmine, Jest, Semantic UI and Bootstrap. For hire posts welcome.
members