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

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

by 애디 오스마니(Addy Osmani), 윤창식
August 2024
Beginner to intermediate
384 pages
7h 38m
Korean
Hanbit Media, Inc.
Content preview from 자바스크립트 + 리액트 디자인 패턴
350
자바스크립트 + 리액트 디자인 패턴
Eveventy
+
Preact
마커스 오버레너
Markus
Oberlehner
19
는 정적 사이트 생성기인
Eleventy
와 부분적으로 하이
드레이션될 수 있는 동형
Preact
컴포넌트를 함께 사용하는 방법을 보여줍니다. 이 방법
은 지연 하이드레이션도 지원하며, 컴포넌트 자체가 선언적으로 하이드레이션을 제어하
고, 상호작용 컴포넌트는
WithHydration
래퍼를 사용하여 클라이언트에서 하이드레이
션됩니다.
Marko
와
Eleventy
는 제이슨이 정의한 아일랜드 아키텍처 이전에 등장했지만, 그래도 아일
랜드 아키텍처에 필요한 기능을 어느 정도 갖추고 있습니다. 반면에
Astro
는 처음부터 아일
랜드 아키텍처를 기반으로 만들어졌기 때문에 기본적으로 아일랜드 아키텍처를 지원합니다.
13.9.2
아일랜드 아키텍처의 장점과 단점
아일랜드 아키텍처를 도입하면 얻을 수 있는 몇 가지 이점은 다음과 같습니다.
성능
클라이언트에 전송되는 자바스크립트 코드의 양을 줄입니다. 상호작용이 필요한 컴포넌
트에만 스크립트가 전송되므로, 전체 페이지의 가상
DOM
을 다시 생성하고 모든 요소
를 하이드레이션하는 데 필요한 스크립트보다 필요한 코드의 양이 훨씬 적습니다. 이렇게
자바스크립트 크기가 작아지면 페이지 로드 속도는 자연스레 빨라질 수 밖에
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