How bext compiles this page
When bext compiles a PRISM route, every .tsx module passes through the React Compiler before JSX is lowered โ the only point where the compiler can see JSX. The optimized source feeds the lowering and the compile cache, so it runs once per module version and warm requests never recompile.
The pipeline
- 1source.tsxYour component, raw JSX.
- 2React Compilerpre_transform_source runs optimize_react โ JSX in, optimized JSX out.
- 3JSX loweringtsc-rs lowers to _jsx() / h() calls.
- 4bundle + cacheCached by content hash โ warm requests skip all of the above.
- 5V8 renderEvaluated server-side into HTML.
See it on this site's components
These are real components from this site. They're sent to /__bext/react-compiler/compile โ the same Rust compiler the build uses โ and compiled live below. ssr outlines callbacks (what the build applied); client adds the _c() auto-memoization cache.
frontend: โฆ
Proof it ran at build time: the server journal logs react_compiler: optimized PRISM module compiled=N for each component the first time a route compiles, then serves from cache.