react-relay
Version:
A framework for building GraphQL-driven React applications.
23 lines (19 loc) • 525 B
Flow
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
* @oncall relay
*/
;
import type {RelayContext} from 'relay-runtime/store/RelayStoreTypes';
const React = require('react');
const {
__internal: {createRelayContext},
} = require('relay-runtime');
module.exports = (createRelayContext(
React,
): React.Context<RelayContext | null>);