Class: JsxRosetta::IR::LayoutYield
- Inherits:
-
Data
- Object
- Data
- JsxRosetta::IR::LayoutYield
- Includes:
- Node
- Defined in:
- lib/jsx_rosetta/ir/types.rb
Overview
The Next.js ‘_app.tsx` content slot — what JSX writes as `<Component …pageProps />`. Lowered to a distinguished node so the Phlex backend can emit `yield` (the Rails layout convention) in its place when the host file is a layout. Outside the layout rendering path the node still emits a yield, since the only way to produce one in our IR is to hit this exact source shape.