서우 AgentOffice
← 라이브러리
development

리액트 패턴

원문: react-patterns

Modern React patterns and principles. Hooks, composition, performance, TypeScript best practices.

무엇을 하나요

React Patterns Principles for building production ready React applications. 1. Component Design Principles Component Types | Type | Use | State | | | | | | Server | Data fetching, static | None | | Client | Interactivity | useState, effects | | Presentational | UI display | Props only | | Container | Logic/state | Heavy state | Design Rules One responsibility per component Props down, events up Composition over inheritance Prefer small, focused components 2. Hook Patterns When to Extract Hooks | Pattern | Extract When | | | | | useLocalStorage | Same storage logic needed | | useDebounce | Multiple debounced values | | useFetch | Repeated fetch patterns | | useForm | Complex form state | Hook

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.