Questions tagged [relayjs]

Relay is a JavaScript framework for building data-driven React applications

Declarative: Never again communicate with your data store using an imperative API. Simply declare your data requirements using GraphQL and let Relay figure out how and when to fetch your data.

Colocation: Queries live next to the views that rely on them, so you can easily reason about your app. Relay aggregates queries into efficient network requests to fetch only what you need.

Mutations: Relay lets you mutate data on the client and server using GraphQL mutations, and offers automatic data consistency, optimistic updates, and error handling.

Resources

Code: https://github.com/facebook/relay
Docs: https://facebook.github.io/relay/
Chat: https://reactiflux.slack.com/messages/relay/ (Get an invite here)

737 questions
-3
votes
1 answer

Relay - RelayQueryWriter: Unexpectedly encountered `undefined` in payload

I test relay, and I use relay-local-schema for test graph-ql request in client memory. All are good, and when the sendQueries method is called I fetch the good data. I can check this in debug. But after, I have this error message : RelayQueryWriter:…
juffblr
  • 5
  • 3
-3
votes
1 answer

What is a suitable backend for relayjs?

I am having trouble understanding how to hook up a backend that will support relayjs. Does GraphQL/Relay automatically help store queries? I.e. if I implement a REST backend that returns a json blob with everything, will Relay take care of the data…
user39664
  • 131
  • 1
  • 1
  • 4
1 2 3
49
50