mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
23 lines
592 B
JavaScript
23 lines
592 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
'use strict';
|
|
|
|
import JSResourceReferenceImpl from 'JSResourceReferenceImpl';
|
|
|
|
const ReactFlightNativeRelayClientIntegration = {
|
|
resolveModuleReference(moduleData) {
|
|
return new JSResourceReferenceImpl(moduleData);
|
|
},
|
|
preloadModule(moduleReference) {},
|
|
requireModule(moduleReference) {
|
|
return moduleReference._moduleId;
|
|
},
|
|
};
|
|
|
|
module.exports = ReactFlightNativeRelayClientIntegration;
|