Glossary coding Term Page

Render Function

Deterministic state → view transformer with no side effects.

render-function #ui#javascript
Korean version

Aliases

view functionrender helper

Related Concepts

Core Idea

A render function accepts state and returns markup or DOM mutations without mutating the state itself. By keeping it pure, you can reuse it across screens, feed it into helpers, and test it with simple inputs.

Why It Matters Here

Mathbong defines render functions as the backbone of every UI pattern. With that baseline, the series can discuss pattern catalogs, partial updates, and accessibility hooks in the same breath.

Posts Mentioning This Concept