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

# 01. React 시작해보기

### 리액트란 ?

페이스북에서 개발하고 관리되어오고 있는 UI 전용 라이브러리입니다.

* 가상 돔을 이용한다&#x20;
* 돔에 대한 업데이트 처리를 신경쓰지 않아도된다.
* 컴포넌트 단위로 이루어져 개발, 유지보수에 좋다 등등...&#x20;

### 들어가기전

모던한 프론트엔드 라이브러리와 프레임워크들에서는 Componet 와 SPA 개념이 중요합니다.\
Component 와 SPA 에 관한 설명은 [여기](https://simplevue.gitbook.io/intro/vue.js#component)를 참고해주세요 &#x20;

#### Create-React-App (CRA)&#x20;

CRA 는 별다른 설정없이 간단하게 React 프로젝트를 구성할 수 있도록 도와줍니다.\
CRA 를 이용하여 리액트 프로젝트를 생성해보겠습니다.&#x20;

```bash
$ npx create-react-app my-app
$ cd my-app
$ npm start
```

![](/files/-LngVwAdQhHSIAdE_7vl)


---

# 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://simplereact.gitbook.io/simplereact/master.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.
