> For the complete documentation index, see [llms.txt](https://ljh86029926.gitbook.io/coding-apple-react/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ljh86029926.gitbook.io/coding-apple-react/2.md).

# 2강

- [라이프사이클](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1.md): 리액트 컴포넌트의 생명주기에 관해 알아봅시다.
- [라이프 사이클이 뭔데?](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/what-is-life-cycle.md): 리액트에서 컴포넌트를 다루는 중요한 개념
- [render](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/render.md): JSX를 작성하는 부분, 실제 렌더링이 이루어 집니다.
- [componentDidMount](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/componentdidmount.md): 컴포넌트가 첫 로딩을 끝냈을 때 한 번만 실행되는 라이프사이클 함수
- [componentDidUpdate](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/componentdidupdate.md): State나 Props가 업데이트 될 때마다 실행되는 함수
- [componentWillUnmount](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/componentwillunmount.md): 컴포넌트가 사라질 때
- [라이프 사이클의 동작](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-1/undefined.md): 여러 개의 컴포넌트의 라이프 사이클의 동작 방식
- [리액트의 스타일링](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined.md)
- [Pure css](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined/pure-css.md): CSS로 리액트 스타일링 하기
- [SCSS](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined/scss.md): node-sass를 이용한 리액트에서의 SCSS작성방법
- [Styled-components](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined/styled-components.md): CSS-IN-JS
- [영화 소개 프로젝트: SCSS, Styled-component](https://ljh86029926.gitbook.io/coding-apple-react/2/scss-styled-component.md): 영화 소개 프로젝트에 SCSS와 Styled-component를 넣어 봅니다.
- [영화 소개 프로젝트: 외부 라이브러리 사용해보기](https://ljh86029926.gitbook.io/coding-apple-react/2/undefined-2.md): DOM Confetti 사용해 페이지 꾸며보기
- [LifeCycle Of React component - Deprecated](https://ljh86029926.gitbook.io/coding-apple-react/2/lifecycle-of-react-component.md): 리액트 컴포넌트의 라이프사이클
- [Optimizing of component - Deprecated](https://ljh86029926.gitbook.io/coding-apple-react/2/optimizing-of-component.md): 컴포넌트 최적화, ShouldComponentUpdate & PureComponent
- [scss note - Deprecated](https://ljh86029926.gitbook.io/coding-apple-react/2/scss-note.md): 리액트를 이용한 노트를 한 개 제작해 보려고 합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://ljh86029926.gitbook.io/coding-apple-react/2.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
