[React] JSX
JSX란? JavaScript를 확장한 문법. JSX에 표현식 포함하기 const name = 'Josh Perez'; const element = Hello, {name}; JSX 속성 정의 어트리뷰트에 따옴표를 이용해 문자열 리터럴을 정의할 수 있다. const element = link ; const element = ; JSX로 자식 정의 const element = ( Hello! Good to see you here. ); 출처: https://ko.reactjs.org/docs/introducing-jsx.html
2022.09.26