question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refactor the graphql queries to JS code for community members

See original GitHub issue

Description The GraphQL queries being used in the files under the Members-Grid code is mostly the same (except a few), they differ only in some fields like badges, maintainers, meshmates which makes the query of data every time, for each type of data redundant.

Expected Behavior Update the code to use a more JS approach to filter out the data based on the type needed from the complete set of data.


Contributor Resources

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Tanuj22commented, Sep 8, 2021

Please go ahead

0reactions
riteshsp2000commented, Sep 8, 2021

Hello! So I went through the discussion and it makes sense that instead of fragments, this could be tacked easily with a javascript filter function. I would like to work on this issue, can someone assign me this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

New release of GraphQL Subscriptions for Javascript
GraphQL subscriptions are a way to add realtime data streaming to your GraphQL API. Yesterday, we wrote about an exciting new development ...
Read more >
Queries and Mutations - GraphQL
On this page, you'll learn in detail about how to query a GraphQL server. Fields#. At its simplest, GraphQL is about asking for...
Read more >
Home – GraphQL Code Generator
Generate code from your GraphQL schema and GraphQL operations with a single function call regardless of your environment or code format.
Read more >
GraphQL API style guide - GitLab Documentation
All GraphQL queries are directed to a single endpoint ... In March 2019, Nick Thomas hosted a Deep Dive (GitLab team members only: ......
Read more >
Complete Introduction to Fullstack, Type-Safe GraphQL (feat ...
... Nexus, Prisma) In th... Tagged with graphql, typescript, react, javascript. ... The code above will generate a GraphQL root Query type:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found