|about 1 month ago||1 day ago|
|MIT License||MIT License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
N+1 problem will never be an issue with N1Loader gem
4 projects | reddit.com/r/rails | 22 Jan 2022
Interesting, I've just been researching Dataloader implementations for Ruby and have between trying to decide between GraphQL::Dataloader, graphql-batch and BatchLoader. I'll give this a look as well. Can you also make API calls inside the loaders?
C++ and GraphQL
1 project | reddit.com/r/graphql | 17 Jan 2022
If you wanna go the extra mile build some sort of data-loader for it as well https://github.com/graphql/dataloader.
GraphQL vs REST in .NET Core
7 projects | dev.to | 16 Dec 2021
Will it be gateway for REST API or gateway for a number of GraphQL services (here you can expect n + 1 problem and it can be a challenge to design DataLoaders on your layers)? You also should consider here how authorization rules, throttling rates or caching timeouts should be handled. Since GraphQL uses only one endpoint REST route-specific rules should be transferred into GraphQL schema rules: you may need to write authorization, throttling or caching logic in a separate layer.
Hi webdev! How do you feel about GraphQL these days?
1 project | reddit.com/r/webdev | 10 Dec 2021
On the back-end, it makes for nice documentation, but my sense is that things get pretty complicated when you need to support a graphQL query that may include multiple parents/descendants. Keeping your database queries clean means using a dataloader to avoid n+1 issues.
Clojure-server to Clojure-server communication library
6 projects | reddit.com/r/Clojure | 17 Sep 2021
To GraphQL or not to GraphQL? Pros and Cons
5 projects | dev.to | 13 Sep 2021
This is also related to the N+1 problem, where nested queries make the number of database requests explode. If you want to learn more about this problem, I recommend this video and checking out dataloader, a library released by Facebook to help with batching queries and solving this problem.
Graph QL query involving more content
2 projects | reddit.com/r/graphql | 8 Sep 2021
i think DataLoader is what you want https://github.com/graphql/dataloader
GraphQL - Diving Deep
47 projects | dev.to | 29 Jul 2021
While GraphQL is really promising and helpful, you have to understand that like any technology or framework, it does come with its own set of problems, most of which have already been addressed. For instance you might have heard about the N+1 problem, lack of caching, Query cost and complexity and so on and these have been addressed by some projects like the Dataloader, Persisted Queries, Caching and more which you can setup depending on your needs.
GraphQL - Usecase and Architecture
8 projects | dev.to | 29 Jul 2021
You might also want to look at how you minimize the amount of calls you make to the main database. Do you need caching and have it setup? Have you addressed the N+1 problem with Dataloader?
10 projects | dev.to | 29 Jul 2021
This is where you setup things like batching and also solve N+1 problems with something like a dataloader, setup caching with something like Redis or even an LRU cache to act as a proxy for the frequently accessed data whenever and wherever possible, optimizing the network chatter by using something like persisted queries, optimize your resolvers by retrieving as much data as possible from the parent resolvers, setting up pagination to limit the results returned, setting up things like query complexity to control the level of nesting and computation performed, rate-limiting in the gateway to avoid things like DDOS and so on.
Relay 13 Released
1 project | news.ycombinator.com | 13 Jan 2022
Relay 13 released
1 project | reddit.com/r/reactjs | 13 Jan 20221 project | reddit.com/r/graphql | 13 Jan 2022
Headless Tables: combine Designs, UseCases and Data Sources independently
2 projects | dev.to | 11 Jan 2022
The star wars example schema also introduces some relay-concepts, which can help with making the table more dynamic. For the table to support sorting and filtering, the rows need to be identifiable. In relay, the Node-interface carries an id-field, which means all graphql-types implementing Node are identifiable as well. That means when we encounter an id on an object, we've found a candidate for a row of a table. More meta-information about the row/Node exists in the __typename-field. So here we have a type, but at runtime - that would be a good candidate for a switch/case-statement in a row-generator.
Creating better user experiences with React 18 Suspense and Transitions
2 projects | dev.to | 1 Jan 2022
You'll see when looking into our fakeAPI file, that resource.delay is actually a special kind of promise, which in our naive implementation taken from the official React examples, is essentially a simplified mock of what something a React 18 compatible data fetching library would provide (and what Relay already does provide!).
Widget Driven Development
5 projects | dev.to | 15 Dec 2021
some GraphQL clients, e.g. Relay
A new react state management framework
3 projects | dev.to | 17 Nov 2021
State Management: Separation of Concerns
9 projects | dev.to | 11 Nov 2021
Some of GraphQL Clients were the first who pioneered the approach. They are designed specifically for GraphQL APIs. Example: Apollo Client, Relay.
Introducing GraphQL into a React / Node project, looking for advice
1 project | reddit.com/r/graphql | 7 Nov 2021
I would recommend looking at Relay
Relay 12 released
1 project | reddit.com/r/graphql | 19 Sep 2021
What are some alternatives?
apollo-client - :rocket: A fully-featured, production ready caching GraphQL client for every UI framework and GraphQL server.
react-query - ⚛️ Hooks for fetching, caching and updating asynchronous data in React
axios - Promise based HTTP client for the browser and node.js
urql - The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
Redis - Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.
graphql-voyager - 🛰️ Represent any GraphQL API as an interactive graph
Sequelize - An easy-to-use and promise-based multi SQL dialects ORM tool for Node.js | Postgres, MySQL, MariaDB, SQLite, Microsoft SQL Server & DB2
graphql-ws - Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.