# Code generation Source: https://docs.subframe.com/concepts/code-generation How Subframe generates clean, production-ready React code. Subframe generates production-ready React code deterministically—no LLM involved. ## How it works When you make edits in Subframe, you're editing the underlying code directly. If it can't be translated to code, you can't do it in Subframe. Subframe's code output is designed to be: * **Deterministic** — The same design always produces the same code, without AI hallucinations or unexpected output. * **Clean** — You get a minimal set of changes. No extra wrappers, one-off components, or redundant styles. * **Instant** — Changes reflect real-time, without waiting for AI calls. * **Presentational** — No API calls, state management, or business logic for developers to unwind during handoff.