I have working tinySQL GraphQL server running at 127.0.0.1:3000. I would like to create any working Relay client for it. I mean any working example for query:   {   groupBy (age: 20, job: "student") {     id,     name,     age,     job   } }...
Title mostly says it all: I'm building a react / relay application which will allow the user to dynamically create charts at runtime displaying their various income streams over a specified time range. One feature of this chart is the ability of...
I am using a QueryRenderer to populate an edit form in my application. The data is also being displayed in additional DOM elements throughout the page. I am then saving the values back on form submit through a mutation. Everything works great, except...
I have a simple express graphql server:  const schema = require('./schema'); const express = require('express'); const graphqlHTTP = require('express-graphql'); const cors = require('cors') const bodyParser = require(&...
so I am working on relay for react application with server side rendering. I'm trying to use relay to get data from graphql endpoint.  I was kinda following this, using fetchQuery to get data by making request from compiled graphql by relay-compi...
I am getting this error.  Cannot read property 'then' of undefined.  I hope the rest of my code does what it should, but somehow my promise does not work. What am i doing wrong?  // @flow import { commitMutation, graphql } from 'react-rel...
I had a perfectly working relay modern app with 1.1.0 babel-plugin-relay + react-relay + react-compiler + graphql 0.10.x, react 15.5.x but since upgrading all of them to 1.4.1 and graphql to 0.11.7 and react to 16.0.0 I keep getting this error when r...
I'm currently following this and I did get it to work. But I would like to know if there is a way to stop the Query Render from reloading the data when calling this.setState(). Basically what I want is when I type into the textbox, I don't wa...
I have this relationship btw a user and its memberships. The memberships field is a connection between a user and multiple memberships.    const MembershipType = new GraphQLObjectType({   name: 'Membership',   interfaces: [nodeInterface],...
I've spent a couple of hours already on this problem and I'm stuck.  tl;dr: Bundling my custom component with webpack leads in either an undefined or 'call' of undefined error (when loading unbundled vendor packages). See generated we...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.