Webpack react hook
React setting with Webpack
1. Download react library
$ npm i --save-dev react react-dom
2. Download Babel for react
$ npm i --save-dev @babel/preset-react
3. Edit .babelrc
@babel/preset-react 추가
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
}
4. React 코드추가하고 실행하면 끝.
~