I'm new to Relay and am having an issue with nested data on a fragment.  The following query returns the correct data when I test in it graphiql so I am confident my schema is correct.   {   viewer {     customers {       name       billing_addre...
With Relay, you create a React component as usual:  class TodoApp extends React.Component {   ... }   And then component is wrapped in a Relay container:  export default Relay.createContainer(TodoApp, {   ... });   The Relay container will fetch data...
I am following along a Lynda.com tutorial called "Building and Deploying a Full-Stack React Application", and in the chapter "Injecting the Relay Network Layer" there is in index.js, an attempt to set up a network layer, and the progr...
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(&...
I´m using Relay Modern to build my component and I want to pass a varible to the fragment so that it can be used as a GraphQL argument on my query.  Here is the code I´m using:  class Test extends Component {     static propTypes = {        userId:...
I have separated out my connection to its own file and can use it in my root query (it worked fine when the connection was defined in the type), but when trying to use it by importing it to the type the connection is for I just get back:     Error: P...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.