# 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
```

![](https://707901708-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LmntoQaR_UpEAiZTdQt%2F-LngSxAANh1YT80RTL_O%2F-LngVwAdQhHSIAdE_7vl%2Fimage.png?alt=media\&token=8b896ff4-db80-4cb6-8ce7-f13ea101ef93)


---

# Agent Instructions: 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:

```
GET https://simplereact.gitbook.io/simplereact/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
