Relay is a library to interact with GraphQL. https://facebook.github.io/relay/ It is used in React projects to communicate with GraphQL backend. There are 2 most widely used GraphQL front-end frameworks – Relay and Apollo. Relay is mainly used for large scale applications.
