April 2, 2022
//terminal
npm run build
npx serve -s build
vscode의 terminal 작동원리
props 이해가 어려웠으나 이해 완.
function Header(props) {
console.log(props, props.title);
return (
<header>
<h1>
<a href="/">{props.title}</a>
</h1>
</header>
);
}
<Header title="WEB"></Header>
//Console props, props title
// {title: 'WEB'} 'WEB'