Glossary coding Term Page

Component

A reusable UI unit that bundles state, markup, and behavior

component #javascript#svelte#frontend
Korean version

Aliases

component

Related Concepts

Core Idea

A component is a reusable slice of UI organized around one role. Cards, modals, forms, and lists become easier to maintain when they are split into separate pieces with clear boundaries.

Why It Matters Here

Mathbong uses components to connect plain JavaScript component patterns with Svelte .svelte files under one shared concept. The central idea is to bundle state, markup, and events into one responsibility unit.

Posts Mentioning This Concept