react-relay
Version:
A framework for building GraphQL-driven React applications.
22 lines (17 loc) • 512 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
*/
;
const ReactRelayLoggingContext = require('./../ReactRelayLoggingContext');
const {useContext} = require('react');
hook useRelayLoggingContext(): mixed | void {
return useContext(ReactRelayLoggingContext);
}
module.exports = useRelayLoggingContext;