Skip to Content
자바스크립트 + 리액트 디자인 패턴
book

자바스크립트 + 리액트 디자인 패턴

by 애디 오스마니(Addy Osmani), 윤창식
August 2024
Beginner to intermediate
384 pages
7h 38m
Korean
Hanbit Media, Inc.
Content preview from 자바스크립트 + 리액트 디자인 패턴
51
Chapter 05_
최신 자바스크립트 문법과 기능
스크립트는 모듈을 자연스럽게 가져오는 방법이 없었습니다. 이윽고 자바스크립트에 정교
한 모듈 시스템이 필요해지자 문제가 발생하기 시작했고, 그로 인해
AMD
Asynchronous
Module
Definition
04
와
CommonJS
05
모듈은 초기 자바스크립트에서 모듈화를 구현하기 위해 가장 많
이 사용된 패턴이 되었습니다.
이러한 문제를 해결하기 위해
ES6
및
ES2015
06
에서 모듈 관련 기능이 추가되었습니다.
ECMAScript
의 문법과 기능 정의를 담당하는
TC39
07
표준 기구가 대규모 개발을 위한 자바
스크립트의 진화 과정을 주시해 왔으며, 모듈형 자바스크립트의 작성을 위한 더 나은 기능의
필요성을 인지하고 있었기에 가능한 일이었습니다.
자바스크립트 모듈은
ES2015
의 출시와 함께 표준화되었습니다. 오늘날 모든 주요 브라우저
는 자바스크립트 모듈을 지원합니다. 모듈형 자바스크립트는 사실상
de
facto
의 표준이 되었습
니다. 이번 장에서는
ES2015
모듈의 문법을 사용하는 예시 코드를 살펴보겠습니다.
5.2
모듈 가져오기와 내보내기
모듈을 사용하면 각 기능에 맞는 독립적인 단위로 코드를 분리할 수 있습니다. 또한 모듈은
코드의 재사용성을 높여 다른 애플리케이션에도 같은 기능을 적용할
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

실전 시계열 분석: 통계와 머신러닝을 활용한 예측 기법

실전 시계열 분석: 통계와 머신러닝을 활용한 예측 기법

박찬성, 에일린 닐슨
클라우드 엔지니어를 위한 97가지 조언

클라우드 엔지니어를 위한 97가지 조언

Emily Freeman, Nathen Harvey, 정기훈(Jung Ki Hun)

Publisher Resources

ISBN: 9791169212571