pushBreakContext() — react Function Reference
Architecture documentation for the pushBreakContext() function in code-path-state.js from the react codebase.
Entity Profile
Dependency Diagram
graph TD b619f50d_ffe6_93b8_b7a7_402d0cdecbc6["pushBreakContext()"] d3cee22c_5e2d_f853_c075_2c7c55e5d22c["CodePathState"] b619f50d_ffe6_93b8_b7a7_402d0cdecbc6 -->|defined in| d3cee22c_5e2d_f853_c075_2c7c55e5d22c a26698c0_a209_79e4_0eea_e08c1ff5bcb5["pushSwitchContext()"] a26698c0_a209_79e4_0eea_e08c1ff5bcb5 -->|calls| b619f50d_ffe6_93b8_b7a7_402d0cdecbc6 575dfda7_fd7d_2e7a_7b66_a9eefb7b5c2a["pushLoopContext()"] 575dfda7_fd7d_2e7a_7b66_a9eefb7b5c2a -->|calls| b619f50d_ffe6_93b8_b7a7_402d0cdecbc6 style b619f50d_ffe6_93b8_b7a7_402d0cdecbc6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/eslint-plugin-react-hooks/src/code-path-analysis/code-path-state.js lines 1303–1311
pushBreakContext(breakable, label) {
this.breakContext = {
upper: this.breakContext,
breakable,
label,
brokenForkContext: ForkContext.newEmpty(this.forkContext),
};
return this.breakContext;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does pushBreakContext() do?
pushBreakContext() is a function in the react codebase, defined in packages/eslint-plugin-react-hooks/src/code-path-analysis/code-path-state.js.
Where is pushBreakContext() defined?
pushBreakContext() is defined in packages/eslint-plugin-react-hooks/src/code-path-analysis/code-path-state.js at line 1303.
What calls pushBreakContext()?
pushBreakContext() is called by 2 function(s): pushLoopContext, pushSwitchContext.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free