Home / Type/ ReducerAction Type — react Architecture

ReducerAction Type — react Architecture

Architecture documentation for the ReducerAction type/interface in StoreContext.tsx from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  d899dfb3_5380_feec_4645_5ad51956edb6["ReducerAction"]
  73168655_c854_d3d1_50a0_b37f865f3c7e["StoreContext.tsx"]
  d899dfb3_5380_feec_4645_5ad51956edb6 -->|defined in| 73168655_c854_d3d1_50a0_b37f865f3c7e
  style d899dfb3_5380_feec_4645_5ad51956edb6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/apps/playground/components/StoreContext.tsx lines 66–87

type ReducerAction =
  | {
      type: 'setStore';
      payload: {
        store: Store;
      };
    }
  | {
      type: 'updateSource';
      payload: {
        source: string;
      };
    }
  | {
      type: 'updateConfig';
      payload: {
        config: string;
      };
    }
  | {
      type: 'toggleInternals';
    };

Frequently Asked Questions

What is the ReducerAction type?
ReducerAction is a type/interface in the react codebase, defined in compiler/apps/playground/components/StoreContext.tsx.
Where is ReducerAction defined?
ReducerAction is defined in compiler/apps/playground/components/StoreContext.tsx at line 66.

Analyze Your Own Codebase

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

Try Supermodel Free