- React는 유저 인터페이스(UI)를 렌더링하기 위한 JavaScript 라이브러리이다. UI는 버튼, 텍스트, 이미지와 같은 작은 단위로 구성된다.
- 리액트는 이들을 조합하여 재사용 가능하고reusable, 중첩 가능한nestable 컴포넌트components를 만들 수 있도록 한다. 웹사이트부터 전화 앱까지, 화면의 모든 것은 컴포넌트로 쪼개어 생각할 수 있다.
- 이 챕터는 이런 리액트 컴포넌트를 만들고, 커스텀하고, 조건부로 화면에 보여주는 방법에 대해 다룬다.
1. How to write your first React component (Your first component)
2. When and how to create multi-component files (Importing and exporting components)
3. How to add markup to JavaScript with JSX (Writing markup with JSX)
4. How to use curly braces with JSX to access JavaScript functionality from your components (JavaScript in JSX with curly braces)
5. How to configure components with props (Passing props to a component)
6. How to conditionally render components (Conditional rendering)
7. How to render multiple components at a time (Rendering lists)