React/React Basic
[React] React.dom
CodeMia
2022. 4. 21. 04:37
import React from 'react';
import React.DOM from 'react-dom';
React:
it's the underlying engine that actually does all of the work when it comes to how React functions as a application builder.
Dom:
React Dom is specifying that engine should be directed towards web related applications.
이 2개의 라이브러리가 합쳐져서 리액트로 웹 어플리케이션을 만들 수 있다.
리액트 엔진을 이용해서 React Native 등을 만들 수 있다.