Home / File/ useSyncExternalStore.forward-to-shim.js — react Source File

useSyncExternalStore.forward-to-shim.js — react Source File

Architecture documentation for useSyncExternalStore.forward-to-shim.js, a javascript file in the react codebase. 1 imports, 0 dependents.

File javascript 1 imports

Entity Profile

Dependency Diagram

graph LR
  1dc398b3_19fe_fd40_5aa3_afd82a2797e5["useSyncExternalStore.forward-to-shim.js"]
  dd6bce81_f20c_6ef1_fe0d_89525ea33b93["shim"]
  1dc398b3_19fe_fd40_5aa3_afd82a2797e5 --> dd6bce81_f20c_6ef1_fe0d_89525ea33b93
  style 1dc398b3_19fe_fd40_5aa3_afd82a2797e5 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
 */

'use strict';

// Intentionally not using named imports because Rollup uses dynamic
// dispatch for CommonJS interop named imports.
import * as shim from 'use-sync-external-store/shim';

export const useSyncExternalStore = shim.useSyncExternalStore;

Dependencies

  • shim

Frequently Asked Questions

What does useSyncExternalStore.forward-to-shim.js do?
useSyncExternalStore.forward-to-shim.js is a source file in the react codebase, written in javascript.
What does useSyncExternalStore.forward-to-shim.js depend on?
useSyncExternalStore.forward-to-shim.js imports 1 module(s): shim.
Where is useSyncExternalStore.forward-to-shim.js in the architecture?
useSyncExternalStore.forward-to-shim.js is located at packages/use-sync-external-store/src/forks/useSyncExternalStore.forward-to-shim.js (directory: packages/use-sync-external-store/src/forks).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free