()React & state patterns

Watch state updates, renders, effects, and memoization move through components. — 27 entries

···

State, render, commit상태·렌더·커밋

A state update schedules a new UI calculation; the visible screen changes when that result is committed.

···

Controlled input제어 입력

React state owns the input value and updates on every input event.

···

Uncontrolled input비제어 입력

The DOM holds the value while typing; a ref or FormData reads it on submit.

···

Effect lifecycleEffect 생명주기

When a dependency changes, React cleans up the previous synchronization before running the next effect.

···

Manual memoization수동 메모이제이션

Reuse a value or function reference while dependencies stay equal to avoid unnecessary work.

···

Suspense data readingSuspense 데이터 읽기

An unresolved render-time read shows the nearest fallback, then reveals content when ready.

···

Transition priority전환 우선순위

Urgent input and slower screen updates receive different priorities.

···

Deferred value지연 값

Show the latest value immediately while expensive UI briefly keeps an older value.

···

Optimistic UI낙관적 UI

Show the expected success before the server responds, then roll back on failure.

···

Action state액션 상태

Track a form action result and its pending flag as one state flow.

···

Form status폼 상태 구독

A child component inside a form reads that form’s submission status.

···

External store synchronization외부 저장소 동기화

Subscribe to a store outside React and render a consistent snapshot.

···

Ref as a propref를 prop으로 전달

In React 19, a function component can receive ref as a normal prop and attach it to a child node.

···

React CompilerReact 컴파일러

A build-time compiler analyzes components and automatically memoizes values and render work.

···

Activity componentActivity 컴포넌트

Preserve hidden screen state while prioritizing the visible screen.

···

Effect Event

Separate an effect’s connection lifetime from event-like logic that reads fresh values.

···

React Performance TracksReact 성능 트랙

Inspect React scheduling and component work inside browser performance recordings.

···

React View TransitionReact 뷰 전환

Animate elements moving or resizing when a transition-marked React update changes the UI.

···

Fragment refsFragment ref

Apply group DOM operations to sibling elements without adding a wrapper.

···

React Compiler lint diagnosticsReact 컴파일러 린트 진단

Find React rule violations so the compiler can optimize code safely.

···

React transition typesReact 전환 타입

Give the same UI update a different animation based on why it happened.

···

React browser boundaryReact 브라우저 경계

Show a Suspense fallback only for a part that cannot render meaningfully on the server.

···

React Trusted Types supportReact Trusted Types 지원

Pass policy-created trusted objects to the DOM without converting them to strings.

···

Direct Context rendering in RSC서버 컴포넌트의 직접 Context 렌더

Let a Server Component render a client Context directly to provide a value to descendants.

···

Component composition컴포넌트 합성

Combine small components through props and children to build a larger UI.

···

Context providerContext 공급자

Let deep descendants read a shared value without passing props through every layer.

···

Reducer pattern리듀서 패턴

Collect state transitions in actions and a pure reducer function.

Open as page ↗