Built-in React Components

번역:고석영

React exposes a few built-in components that you can use in your JSX. React는 JSX에서 사용할 수 있는 몇 가지 빌트인 컴포넌트를 제공합니다.


Built-in components 빌트인 컴포넌트

  • <Fragment>, alternatively written as <>...</>, lets you group multiple JSX nodes together. <Fragment> 또는 <>...</>를 사용하면 여러 JSX 노드를 함께 그룹화할 수 있습니다.

  • <Profiler> lets you measure rendering performance of a React tree programmatically. <Profiler>는 프로그램적으로 React 트리의 렌더링 성능을 측정합니다.

  • <Suspense> lets you display a fallback while the child components are loading. <Suspense>는 자식 컴포넌트가 로딩되는 동안 폴백을 표시합니다.

  • <StrictMode> enables extra development-only checks that help you find bugs early. <StrictMode>는 버그를 조기에 발견하는 데 도움이 되는 개발 전용 추가 검사를 활성화합니다.


Your own components 커스텀 컴포넌트

You can also define your own components as JavaScript functions. JavaScript 함수로 자신만의 컴포넌트를 정의할 수도 있습니다.