relay Questions
1
Solved
I have a root query of songs, this is in a pagination container.
I then have a nested property on songs called comments that I also want to be paginated because I don't want to load 10k comments fo...
Oribella asked 7/12, 2017 at 16:47
0
Currently having an issue with the relay approach to nested pagination. An example below to illustrate what I mean:
{
"data": {
"locations": {
"edges": [
{
"node": {
"id": "Location_254"
}
...
0
I'm working with Relay Modern on Project. But I'm not sure how to send data from a place when I put fragment
to place where Is component placed.
for example:
this is components composition
-Pa...
Nickolas asked 11/11, 2017 at 10:58
1
I have a route like this
<Route path="/search" component={Search}>
The basic Search component looks likes this
class Search extends React.Component {
constructor (props) {
super(props)
...
Shanly asked 7/3, 2017 at 15:41
2
Solved
Any working solutions of using Relay/GraphQL with Loopback? I guess a few things I'm considering are how to access the database (since I'm assuming going through the ORM wouldn't be possible) and h...
Cumuliform asked 22/5, 2016 at 16:13
0
how do I update the ui with a new item in relay modern?
I have all other CRUD working and but can't figure out the updater on commit mutation for a new item. When I refresh the page it there. All...
Idelia asked 26/8, 2017 at 12:30
0
I'm trying to create a live search-result component(lazy load one). It works perfectly for the first time but refetch doesn't update the data. I see the request and respoonse in Network tab! so it ...
Betterment asked 18/7, 2017 at 8:6
2
Solved
So, first a bit of background.
I'm a native iOS/Android developer who is now starting my first ever React Native project. It comes with all the benefits and pains of Javascript, but I like it a lo...
3
Solved
I am trying to understand more complex graphql apis that implement the Relay Cursor Connections Specification
If you look at the query below that I run on the github graphql api explorer
{
repos...
0
When appending ?__a=1 to a page on Instagram it is possible to view the JSON, as in this link:
https://www.instagram.com/explore/tags/malta/?__a=1.
This response contains an end_cursor field that r...
2
Solved
In my nodejs application
here is my schema.js file
import {
GraphQLBoolean,
GraphQLID,
GraphQLInt,
GraphQLList,
GraphQLNonNull,
GraphQLObjectType,
GraphQLSchema,
GraphQLString,
} from 'gr...
Honniball asked 23/7, 2016 at 10:31
2
Solved
I've been working through some Graph QL/React/Relay examples and I ran into some strange syntax.
When defining the fields in Graph QL Objects the following syntax is used:
const xType = new...
Decigram asked 11/12, 2016 at 23:3
0
So I'm trying to figure out Relay.js. I conjured simple app that basically imitates example on Relay's website. However although I've managed to get rid of errors in both consoles (node and chrome)...
Sulfonate asked 10/10, 2016 at 13:45
1
Solved
I want to build a web app with Javascript for the front end and C# for the back end and I want to determine the value of GraphQL.
For my C# back end I use a GraphQL implementation named GraphQL f...
Euthanasia asked 26/6, 2016 at 22:22
1
Solved
I am following schema same as mentioned here
I want to fetch all users so I updated my schema like this
var Root = new GraphQLObjectType({
name: 'Root',
fields: () => ({
user: {
type: user...
1
The situation
I have an onboarding scenario where the user goes through a step-by-step onboarding. I want to manage the client side state of the user's progress with Redux. The synchronization bet...
Lentil asked 18/7, 2016 at 17:54
1
Solved
I am trying to add the totalcount of records to be used for pagination. Right now i can see the connection i am having trouble modifying it to get my totalCount to be apart of it.
Books: {
type...
1
I am looking at Relay / GraphQL. Looks great to use with React but my main concern is whether it is possible to use GraphQL in an offline mode. In my Hybrid app built currently using Ionic Framewor...
© 2022 - 2024 — McMap. All rights reserved.