능하게 합니다. 작업 전환 시 부분적으로 렌더링된 트리는 진행을 잠시 멈추어, 다시 동일한
작업으로 돌아왔을 때 이전의 렌더링 작업을 계속할 수 있습니다.
동시성 모드는 점진적 하이드레이션을 구현하는 데에도 사용될 수 있습니다. 동시성 모드
로 점진적 하이드레이션을 구현한다면 페이지의 각 조각을 하이드레이션하는 작업은 동시성
모드가 맡게 됩니다. 사용자 입력과 같은 더 높은 우선순위의 작업이 필요하면 리액트는 하
이드레이션 작업을 일시 중지하고 사용자 입력을 받아들이는 작업으로 전환합니다. 여기에
lazy
()
및
Suspense
()
와 같은 기능을 사용하면 선언적인 로딩 상태를 통해, 지연 로드되는
중임을 보여줄 수 있습니다. 또한
SuspenseList
()
는 지연 로딩되는 컴포넌트의 우선순위를
정의하는 데 사용할 수 있습니다. 댄 아브라모브
Dan
Abramov
는 동시성 모드를 실제로 보여주고
점진적 하이드레이션을 구현하는 훌륭한 데모
14
를 공유하기도 했습니다.
13.9
아일랜드 아키텍처
케이티 사일러 밀러
Katie
Sylor
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.
O’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
I 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
I’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
I'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.