ReactFiberConfigWithNoPersistence.js — react Source File
Architecture documentation for ReactFiberConfigWithNoPersistence.js, a javascript file in the react codebase.
Entity Profile
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
*/
// Renderers that don't support persistence
// can re-export everything from this module.
function shim(...args: any): empty {
throw new Error(
'The current renderer does not support persistence. ' +
'This error is likely caused by a bug in React. ' +
'Please file an issue.',
);
}
// Persistence (when unsupported)
export const supportsPersistence = false;
export const cloneInstance = shim;
export const createContainerChildSet = shim;
export const appendChildToContainerChildSet = shim;
export const finalizeContainerChildren = shim;
export const replaceContainerChildren = shim;
export const cloneHiddenInstance = shim;
export const cloneHiddenTextInstance = shim;
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does ReactFiberConfigWithNoPersistence.js do?
ReactFiberConfigWithNoPersistence.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 ReactFiberConfigWithNoPersistence.js?
ReactFiberConfigWithNoPersistence.js defines 1 function(s): shim.
Where is ReactFiberConfigWithNoPersistence.js in the architecture?
ReactFiberConfigWithNoPersistence.js is located at packages/react-reconciler/src/ReactFiberConfigWithNoPersistence.js (domain: BabelCompiler, subdomain: Validation, directory: packages/react-reconciler/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free