728x90
For instance, because JSX is a syntactic extension of JavaScript, you can actually write JavaScript directly within JSX. To do this, you simply include the code you want to be treated as JavaScript within curly braces: { 'this is treated as JavaScript code' }. Keep this in mind, since it's used in several future challenges.
출처: freecodecamp.org
320x100
'IT > React' 카테고리의 다른 글
[리액트] VSCode 익스텐션/컴포넌트 import 간단하게 하기 (Auto Import) (0) | 2021.01.13 |
---|---|
[리액트] Font Awesome(폰트 어썸) 사용 방법 (0) | 2021.01.13 |
[리액트] 구글 로그인 API (0) | 2021.01.11 |
[리액트] React hook 간단하게 알아보기 (0) | 2021.01.10 |
[리액트] 클래스형, 함수형 컴포넌트 차이 간단 정리 (0) | 2021.01.08 |