function RecoilRelayEnvironmentProvider({
  environmentKey,
  environment,
  children,
}: {
  environmentKey: EnvironmentKey,
  environment: IEnvironment,
  children: React.Node,
}): React.Node {
  return (
    <RecoilRelayEnvironment
      environmentKey={environmentKey}
      environment={environment}>
      <RelayEnvironmentProvider environment={environment}>
        {children}
      </RelayEnvironmentProvider>
    </RecoilRelayEnvironment>
  );
}
A provider which sets up the Relay environment for its children and
registers that environment for any Recoil atoms or selectors using that
environmentKey.

This is basically a wrapper around both <RelayEnvironmentProvider> and
<RecoilRelayEnvironment>.