Questions tagged [reactql]

ReactQL starter kit for React + GraphQL (reactql.org)

ReactQL starter kit

ReactQL is a starter kit for React+GraphQL front-end starter kit. It works universally, offering server-side rendering and browser compatibility.

Typescript version also available.

To install use the CLI.

Features

Stack

Server-side rendering

Real-time

Code optimisation

Styles

Developer support

Usage

See the CLI tool for easily deploying this starter kit on Mac, Windows or Linux.

Complete documentation @ https://reactql.org

Support

On StackOverflow, use the tag reactql.

If you spot a bug or have a feature request, please open an issue.

10 questions
2
votes
1 answer

Proper way to include new font and reference it?

In the ReactQL file structure, is there a recommended place to store a custom font, and how would you reference that font? For example, I've tried adding the font into ./static, and referencing it in styles.global.css, but no such luck. Any…
Clay Mitchell
  • 362
  • 3
  • 10
2
votes
1 answer

How to update graphql endpoint (not using Graph.cool)

I spent some time working through the ReactQL starter kit and watched the intro video outlining how the kit is set up, but one area I am still confused on is where to put our graphql specific stuff if we don't use a Graph.cool endpoint. Graph.cool…
user7367101
  • 41
  • 1
  • 6
2
votes
1 answer

How to do code splitting with ReactQL?

Out of the box, ReactQL comes with a couple "pages" defined like this: export default () => (
mpen
  • 272,448
  • 266
  • 850
  • 1,236
1
vote
1 answer

How do I add a Header to every Apollo to the GraphQL Backend in ReactQL

I want to add an Authorization header to every request I make to the GraphQL backend. I am using a Remotbackend. The Apollo documentation has an example how to add a…
Maximilian Kindshofer
  • 2,753
  • 3
  • 22
  • 37
1
vote
0 answers

Node (Koa) not serving static files on HTTPS connection

Trying to request a static css stylesheet on the node (koa) server over a https connection, fails. Works fine on http. HTTP works fine: - http://www.example.com/assets/css/style.913142291ae94ed177988e5dfc67c66e.css serves the file, works fine,…
clodal
  • 1,615
  • 20
  • 33
1
vote
0 answers

How can I use postgraphQL in conjunction with ReactQL

I'd like to use the postgraphQL library to auto-generate my graphql schema from a postgres database. I've used this in express apps previously, but I'm trying to make it work with the ReactQL starter kit. In an express app server file, I've…
bramb84
  • 355
  • 4
  • 14
1
vote
1 answer

Apollo Normalization with dataIdFromObject not updating

I am having trouble with getting React+Apollo to update the store after I send a delete mutation. I am using the reactQL boiler plate which has apollo+react built in and an express graphQL server (I didn't install the apollo server- I just use the…
coherence
  • 93
  • 1
  • 11
0
votes
1 answer

typedb.common.exception.TypeDBClientException: [QRY16] Invalid Query Pattern

When i am trying to fetch count. getting this below error ``[QRY16] Invalid Query Pattern: The pattern '{{ $xy isa taggedwith; $xy ($x, $y); $x has $_0; $x isa Person; $y isa Employer; $_0 = "ab333a1a-0688-4d70-a9da-32b095a69223"; $_0 isa…
0
votes
1 answer

After preflight (cors) request server change origin to * and chrome not display request (but i look response body). How to solve a problem?

After preflight (cors) request server change origin to * and chrome not display request (but i look response body). Request headers Chrome's error: Access to fetch at 'http://localhost:6529/graphql' from origin 'http://localhost:3000' has been…
0
votes
2 answers

Reactql - react-redux with graphql

I would like to start building my new app with reactql. I am really into graphql and MERN stack. However, I started learning redux pattern quite recently. My main pain is - how to create actions that fetch data with graphql query (I use mostly…
Kamil Lewandowski
  • 396
  • 1
  • 5
  • 15