티스토리 뷰

Oops, All Code!/📝 Study Notes

[React] react란?

밍동망동 2023. 3. 11. 00:00
1. react

React

UI를 만들기 위한 자바스크립트 라이브러리다.

 

Tutorial: Intro to React – React

A JavaScript library for building user interfaces

reactjs.org

React는 선언적이고 효율적이며 유연한 라이브러리다.

컴포넌트를 이용해 조립해나간다는 특징이 있다.

컴포넌트(부품)를 통한 조립으로 복잡한 UI를 구성할 수 있다.

 

2. 라이브러리

리액트 라이브러리

 

Getting started with React - Learn web development | MDN

This brings us to the end of our initial look at React, including how to install it locally, creating a starter app, and how the basics work. In the next article, we'll start building our first proper application — a todo list. Before we do that, however

developer.mozilla.org

 

기본적으로 리액트는 라이브러리다.

 

react가 프레임워크가 아니라는데에 많은 의문이 있다.

 

왜냐하면 react는 더이상 웹에서만 작용하는 것이 아니라, 

모바일 어플리케이션 또한 만들 수 있고 그 외에도 다양한 환경을 구성할 수 있기 때문이다.

 

하지만 react는 개발자가 UI를 더 편하게 만들기 위해 고안되었으며,

다른 기능을 구현하기 위해선 또 다른 라이브러리가 필요하기에 라이브러리가 맞다.

 

다만 React와 ReactDOM은 프레임워크가 필요한 문제 역시 해결할 수 있다.

다시말해 react는 라이브러리가 맞지만 react를 둘러싼 환경은 프레임워크와도 흡사하다.

 

댓글