In order to render Relay components, you need to render a
RelayEnvironmentProvider component at the root of the app:
RelayEnvironmentProvidertakes an environment, which it will make available to all descendant Relay components, and which is necessary for Relay to function.
If you want to access the current Relay Environment within a descendant of a
RelayEnvironmentProvider component, you can use the
Is this page useful?