ReactFizzAsyncDispatcher.js — react Source File
Architecture documentation for ReactFizzAsyncDispatcher.js, a javascript file in the react codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f["ReactFizzAsyncDispatcher.js"] ea40e69e_a03c_6c79_7161_71ac1cd3103c["ReactFizzComponentStack.js"] 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f --> ea40e69e_a03c_6c79_7161_71ac1cd3103c 79a5fded_d5ee_a321_9035_70b89446df3d["ReactFizzCurrentTask.js"] 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f --> 79a5fded_d5ee_a321_9035_70b89446df3d 42892443_e223_3da0_aeb9_e1b32a408fb0["ReactInternalTypes"] 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f --> 42892443_e223_3da0_aeb9_e1b32a408fb0 1b694821_5816_1762_7c98_f0727a09e732["ReactFizzServer.js"] 1b694821_5816_1762_7c98_f0727a09e732 --> 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f style 48a5ff90_f97f_4d51_fd7e_aa4c6bf1487f 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
*/
import type {AsyncDispatcher} from 'react-reconciler/src/ReactInternalTypes';
import type {ComponentStackNode} from './ReactFizzComponentStack';
import {currentTaskInDEV} from './ReactFizzCurrentTask';
function getCacheForType<T>(resourceType: () => T): T {
throw new Error('Not implemented.');
}
function cacheSignal(): null | AbortSignal {
throw new Error('Not implemented.');
}
export const DefaultAsyncDispatcher: AsyncDispatcher = ({
getCacheForType,
cacheSignal,
}: any);
if (__DEV__) {
DefaultAsyncDispatcher.getOwner = (): ComponentStackNode | null => {
if (currentTaskInDEV === null) {
return null;
}
return currentTaskInDEV.componentStack;
};
}
Domain
Subdomains
Functions
Dependencies
- ReactFizzComponentStack.js
- ReactFizzCurrentTask.js
- ReactInternalTypes
Imported By
Source
Frequently Asked Questions
What does ReactFizzAsyncDispatcher.js do?
ReactFizzAsyncDispatcher.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 ReactFizzAsyncDispatcher.js?
ReactFizzAsyncDispatcher.js defines 1 function(s): cacheSignal.
What does ReactFizzAsyncDispatcher.js depend on?
ReactFizzAsyncDispatcher.js imports 3 module(s): ReactFizzComponentStack.js, ReactFizzCurrentTask.js, ReactInternalTypes.
What files import ReactFizzAsyncDispatcher.js?
ReactFizzAsyncDispatcher.js is imported by 1 file(s): ReactFizzServer.js.
Where is ReactFizzAsyncDispatcher.js in the architecture?
ReactFizzAsyncDispatcher.js is located at packages/react-server/src/ReactFizzAsyncDispatcher.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-server/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free