Support for Relay Modern

Hi @charklewis

I tried to create a basic example with Relay and here are my findings -

  • The raw queries(QueryRenderer), mutations(commitMutation) & subscriptions(requestSubscription) seem to be working as expected.
  • Relay specific things like createFragmentContainer and @connection don’t seem to work.
  • The Relay store things like getRootField, getLinkedRecord seem to work but can be tricky to manage.

Since Relay is not completely supported I would highly recommend using Apollo or if you’re looking for something lightweight try urql.
I followed this tutorial and the Relay docs to create the example.

1 Like