Panel 1
compileProgram: This call relies on hoisting.
Before gating: a declaration.
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:782–846
One strip from the original three-strip run: gating chooses a function, but it also changes a named declaration into a const initializer. Read the transcript for the source-backed boundary.
Complete comic images, including dialogue and code labels, come from a generative image model. Open a transcript for source evidence.
Source revision: 575477a2e8f9db57ef4a1bf0d3b449e4f8244af8 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:782–846 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Gating.ts:12–49 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:216–269 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:300–341
CODE UNPACKED · COMIC 1
compileProgram: This call relies on hoisting.
Before gating: a declaration.
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:782–846
Gating.ts: The flag picks a function. It does not lift the floor.
After gating: const plus a choice.
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Gating.ts:12–49
compileProgram: Check hoisting before rollout.
Review pre-declaration uses.
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:782–846 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Gating.ts:12–49
compileProgram — Entrypoint/Program.ts: selection, compilation and replacement
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:216–269 · compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Program.ts:300–341
Gating.ts — Builds the conditional compiled/original function expression
compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Gating.ts:12–49