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

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

by 애디 오스마니(Addy Osmani), 윤창식
August 2024
Beginner to intermediate
384 pages
7h 38m
Korean
Hanbit Media, Inc.
Content preview from 자바스크립트 + 리액트 디자인 패턴
243
Chapter 10_
모듈형 자바스크립트 디자인 패턴
일으킬 수 있어, 이러한 전역
require
함수를 사용할 가치가 있는지에 대해서는 아직 의견이
분분합니다. 존 한은 이름을 모두
require
로 하면 사용자가 전역과 내부
require
의 차이를
알 수 없으므로, 전역 로더의 메서드명을 다른 것 (예를 들어 해당 라이브러리의 이름 )으로
변경하는 것이 더 적절하다고 주장했습니다.
curl
.
js
에서
require
가 아닌
curl
()
을 사용하
는 이유가 바로 여기에 있습니다.
10.3.5
CommonJS
관련 참고 자료
JavaScript
Growing
Up
28
The
RequireJS
Notes
on
CommonJS
29
Taking
Baby
Steps
with
Node
.
js
and
CommonJS
Creating
Custom
Modules
30
Asynchronous
CommonJS
Modules
for
the
Browser
31
The
CommonJS
Mailing
List
32
10.4 AMD
vs
CommonJS
: 동상이몽
AMD
CommonJS
는 서로 다른 목표를 가진 유효한 모듈 형식입니다.
AMD
는 브라우저 우선 접근 방식을 채택하여 비동기 동작과 간소화된 하위 호환성을 선택한
반면, 파일
I
/
O
에 대한 개념은 없습니다. 또한 ...
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.
Start your free trial

You might also like

AI를 위한 필수 수학

AI를 위한 필수 수학

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

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

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

Publisher Resources

ISBN: 9791169212571