ReactFabricGlobalResponderHandler.js — react Source File
Architecture documentation for ReactFabricGlobalResponderHandler.js, a javascript file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 73a321f4_ea73_da1b_5668_7db10cac632d["ReactFabricGlobalResponderHandler.js"] f5f93cbf_f7fc_49fc_c1ef_17ea4ef34d0e["ReactFabricInjection.js"] f5f93cbf_f7fc_49fc_c1ef_17ea4ef34d0e --> 73a321f4_ea73_da1b_5668_7db10cac632d style 73a321f4_ea73_da1b_5668_7db10cac632d 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.
*
* @flow
*/
const ReactFabricGlobalResponderHandler = {
onChange: function (from: any, to: any, blockNativeResponder: boolean) {
if (from && from.stateNode) {
// equivalent to clearJSResponder
nativeFabricUIManager.setIsJSResponder(
from.stateNode.node,
false,
blockNativeResponder || false,
);
}
if (to && to.stateNode) {
// equivalent to setJSResponder
nativeFabricUIManager.setIsJSResponder(
to.stateNode.node,
true,
blockNativeResponder || false,
);
}
},
};
export default ReactFabricGlobalResponderHandler;
Domain
Source
Frequently Asked Questions
What does ReactFabricGlobalResponderHandler.js do?
ReactFabricGlobalResponderHandler.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain.
What files import ReactFabricGlobalResponderHandler.js?
ReactFabricGlobalResponderHandler.js is imported by 1 file(s): ReactFabricInjection.js.
Where is ReactFabricGlobalResponderHandler.js in the architecture?
ReactFabricGlobalResponderHandler.js is located at packages/react-native-renderer/src/ReactFabricGlobalResponderHandler.js (domain: BabelCompiler, directory: packages/react-native-renderer/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free