defaultStore.ts — react Source File
Architecture documentation for defaultStore.ts, a typescript file in the react codebase. 1 imports, 4 dependents.
Entity Profile
Dependency Diagram
graph LR f69df4a5_0121_dc26_8c32_aacc01afafd1["defaultStore.ts"] 200e1d7d_8772_57b3_072e_509f07464987["index.ts"] f69df4a5_0121_dc26_8c32_aacc01afafd1 --> 200e1d7d_8772_57b3_072e_509f07464987 3731bab4_20a8_fd29_7439_f961f8964da4["page.spec.ts"] 3731bab4_20a8_fd29_7439_f961f8964da4 --> f69df4a5_0121_dc26_8c32_aacc01afafd1 f0d5e809_a088_0b87_300e_fa0b251099b4["Header.tsx"] f0d5e809_a088_0b87_300e_fa0b251099b4 --> f69df4a5_0121_dc26_8c32_aacc01afafd1 73168655_c854_d3d1_50a0_b37f865f3c7e["StoreContext.tsx"] 73168655_c854_d3d1_50a0_b37f865f3c7e --> f69df4a5_0121_dc26_8c32_aacc01afafd1 4949445b_a2de_ca5c_8e91_50e8a7ed966a["store.ts"] 4949445b_a2de_ca5c_8e91_50e8a7ed966a --> f69df4a5_0121_dc26_8c32_aacc01afafd1 style f69df4a5_0121_dc26_8c32_aacc01afafd1 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 type {Store} from './stores';
const index = `\
export default function MyApp() {
return <div>Hello World</div>;
}
`;
export const defaultConfig = `\
import type { PluginOptions } from 'babel-plugin-react-compiler/dist';
({
//compilationMode: "all"
} satisfies PluginOptions);`;
export const defaultStore: Store = {
source: index,
config: defaultConfig,
showInternals: false,
};
export const emptyStore: Store = {
source: '',
config: '',
showInternals: false,
};
Domain
Dependencies
Imported By
Source
Frequently Asked Questions
What does defaultStore.ts do?
defaultStore.ts is a source file in the react codebase, written in typescript. It belongs to the PlaygroundApp domain.
What does defaultStore.ts depend on?
defaultStore.ts imports 1 module(s): index.ts.
What files import defaultStore.ts?
defaultStore.ts is imported by 4 file(s): Header.tsx, StoreContext.tsx, page.spec.ts, store.ts.
Where is defaultStore.ts in the architecture?
defaultStore.ts is located at compiler/apps/playground/lib/defaultStore.ts (domain: PlaygroundApp, directory: compiler/apps/playground/lib).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free