RawEventEmitter.js — react Source File
Architecture documentation for RawEventEmitter.js, a javascript file in the react codebase.
Entity Profile
Source Code
/**
* 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.
*/
'use strict';
// See the react-native repository for a full implementation.
// However, this is just an EventEmitter.
const RawEventEmitter = {
emit: jest.fn(),
};
module.exports = {default: RawEventEmitter};
Source
Frequently Asked Questions
What does RawEventEmitter.js do?
RawEventEmitter.js is a source file in the react codebase, written in javascript.
Where is RawEventEmitter.js in the architecture?
RawEventEmitter.js is located at packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate/RawEventEmitter.js (directory: packages/react-native-renderer/src/__mocks__/react-native/Libraries/ReactPrivate).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free