Skip to Content
자바스크립트 완벽 가이드
book

자바스크립트 완벽 가이드

by David Flanagan, Han Seon- yong
February 2022
Beginner to intermediate
784 pages
24h 53m
Korean
Insight
Content preview from 자바스크립트 완벽 가이드
the De󼴩nitive Guide
725
17.7 JSX: 자바스크립트의 마크업 표현식
들을 만들 때마다 자바스크립트 모듈에서 바벨을 실행하는
babel-loader
모듈을
지원합니다.
최근에는 자바스크립트 언어를 변환해야 하는 경우가 별로 없지만, 표준이 아닌
자바스크립트 확장을 지원할 의도로 바벨을 쓰는 경우는 여전히 많습니다. 이어지
는 절에서 확장 두 가지를 소개합니다.
17.7
󻱟󻃣󻝳󼔻󺺌󼞇󻰧󽴔󺺗󼔻󻪔󽴔󼤫󼫓󻞬
JSX는 HTML 스타일의 문법을 써서 요소 트리를 정의하는 코어 자바스크립트의 확
장입니다. JSX는 웹 사용자 인터페이스에 사용하는 리액트 프레임워크와 밀접하
게 연관돼 있습니다. 리액트에서 JSX로 정의된 요소 트리는 결국 웹 브라우저에서
HTML로 렌더링됩니다. 여러분이 직접 리액트를 사용할 일이 없더라도, 리액트는
워낙 많이 사용되므로 JSX가 쓰인 코드를 자주 보게 될 겁니다. 이 절에서는 JSX를
이해하는 데 필요한 내용을 설명합니다. 이 절은 언어 확장인 JSX에 관한 절이지 리
액트에 관한 절이 아니며, 리액트는 JSX 문법을 이해하는 데 꼭 필요한 만큼만 설명
합니다.
JSX 요소는 새로운 타입의 자바스크립트 표현식 문법이라고 생각해도 됩니다.
자바스크립트 문자열 리터럴은 따옴표로 구분하고 정규 표현식 리터럴은 슬래시로
구분합니다. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

개발자를 위한 필수 수학

개발자를 위한 필수 수학

토머스 닐드
개발 7년차, 매니저 1일차

개발 7년차, 매니저 1일차

권원상, 한민주, 카미유 푸르니에

Publisher Resources

ISBN: 9788966263462