ResponderSyntheticEvent.js — react Source File
Architecture documentation for ResponderSyntheticEvent.js, a javascript file in the react codebase. 2 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 6212e25f_b3a3_8466_a790_e9a77ad55bf9["ResponderSyntheticEvent.js"] a47c9419_7313_73d9_a24c_401cd8fd59b8["SyntheticEvent.js"] 6212e25f_b3a3_8466_a790_e9a77ad55bf9 --> a47c9419_7313_73d9_a24c_401cd8fd59b8 a239bd27_5f3a_5675_1ae9_280a089300cf["SyntheticEvent"] 6212e25f_b3a3_8466_a790_e9a77ad55bf9 --> a239bd27_5f3a_5675_1ae9_280a089300cf 674c6180_b91e_e17d_fb2d_40a6a3631bb3["ResponderEventPlugin.js"] 674c6180_b91e_e17d_fb2d_40a6a3631bb3 --> 6212e25f_b3a3_8466_a790_e9a77ad55bf9 style 6212e25f_b3a3_8466_a790_e9a77ad55bf9 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
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.
*/
import SyntheticEvent from './SyntheticEvent';
/**
* `touchHistory` isn't actually on the native event, but putting it in the
* interface will ensure that it is cleaned up when pooled/destroyed. The
* `ResponderEventPlugin` will populate it appropriately.
*/
const ResponderSyntheticEvent = SyntheticEvent.extend({
touchHistory: function (nativeEvent) {
return null; // Actually doesn't even look at the native event.
},
});
export default ResponderSyntheticEvent;
Domain
Subdomains
Functions
Dependencies
Source
Frequently Asked Questions
What does ResponderSyntheticEvent.js do?
ResponderSyntheticEvent.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Validation subdomain.
What functions are defined in ResponderSyntheticEvent.js?
ResponderSyntheticEvent.js defines 1 function(s): ResponderSyntheticEvent.touchHistory.
What does ResponderSyntheticEvent.js depend on?
ResponderSyntheticEvent.js imports 2 module(s): SyntheticEvent, SyntheticEvent.js.
What files import ResponderSyntheticEvent.js?
ResponderSyntheticEvent.js is imported by 1 file(s): ResponderEventPlugin.js.
Where is ResponderSyntheticEvent.js in the architecture?
ResponderSyntheticEvent.js is located at packages/react-native-renderer/src/legacy-events/ResponderSyntheticEvent.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-native-renderer/src/legacy-events).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free