You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4895,6 +4895,7 @@ root.render(
4895
4895
4896
4896
</Sandpack>
4897
4897
4898
+
기본적으로 React는 Transition에 활성화된 각 요소에 대해 고유한 `name`을 자동으로 생성합니다. ([`<ViewTransition>`이 어떻게 동작하는지 참고하세요.](/reference/react/ViewTransition#how-does-viewtransition-work)) React가 어떤 Transition에서 특정 `name`을 가진 `<ViewTransition>`이 제거되고, 동일한 `name`을 가진 새로운 `<ViewTransition>`이 추가된 것을 감지하면 공유 엘리먼트 전환<sup>Shared Element Transition</sup>을 활성화합니다.
4898
4899
4899
4900
자세한 내용은 [Animating a Shared Element](/reference/react/ViewTransition#animating-a-shared-element) 문서를 참고하세요.
4900
4901
@@ -4932,7 +4933,7 @@ Transition types을 사용하면 `<ViewTransition>`에 props를 통해 커스텀
4932
4933
</ViewTransition>
4933
4934
```
4934
4935
4935
-
Here we pass a `share`prop to define how to animate based on the transition type. When the share transition activates from `nav-forward`, the view transition class`slide-forward` is applied. When it's from `nav-back`, the `slide-back`animation is activated. Let's define these animations in CSS:
4936
+
여기에서는 `share`prop을 전달하여 transition type에 따라 어떻게 애니메이션을 적용할지 정의합니다. `nav-forward`로 인해 공통의 transition이 활성화되면, view transition 클래스인`slide-forward`가 적용됩니다. `nav-back`로 인해 활성화되면, `slide-back`애니메이션이 활성화됩니다. CSS에서 이러한 애니메이션을 정의해 보겠습니다.
4936
4937
4937
4938
```css
4938
4939
::view-transition-old(.slide-forward) {
@@ -4956,7 +4957,7 @@ Here we pass a `share` prop to define how to animate based on the transition typ
4956
4957
}
4957
4958
```
4958
4959
4959
-
Now we can animate the header along with thumbnail based on navigation type:
4960
+
이제 navigation type에 따라 썸네일과 헤더에 애니메이션을 적용할 수 있습니다:
Now the items animate as you type in the search bar:
8856
+
이제 검색창에 입력할 때 항목에 애니메이션이 적용됩니다.
8856
8857
8857
8858
<Sandpack>
8858
8859
@@ -10170,13 +10171,13 @@ root.render(
10170
10171
10171
10172
</Sandpack>
10172
10173
10173
-
### Final result {/*final-result*/}
10174
+
### 최종 결과물 {/*final-result*/}
10174
10175
10175
-
By adding a few `<ViewTransition>`components and a few lines of CSS, we were able to add all the animations above into the final result.
10176
+
몇 개의 `<ViewTransition>`컴포넌트와 몇 줄의 CSS를 추가하여 위의 모든 애니메이션을 최종 결과물에 추가할 수 있었습니다.
10176
10177
10177
-
We're excited about View Transitions and think they will level up the apps you're able to build. They're ready to start trying today in the experimental channel of React releases.
10178
+
저희는 View Transition이 여러분의 앱 제작 수준을 한 단계 높여줄 것으로 기대하고 있습니다. 오늘부터 React 릴리즈의 experimental 채널에서 사용해 볼 수 있습니다.
10178
10179
10179
-
Let's remove the slow fade, and take a look at the final result:
10180
+
이제 느린 페이드 효과를 제거하고, 최종 결과물을 살펴봅시다.
10180
10181
10181
10182
<Sandpack>
10182
10183
@@ -11456,9 +11457,10 @@ root.render(
11456
11457
11457
11458
</Sandpack>
11458
11459
11459
-
If you're curious to know more about how they work, check out [How Does `<ViewTransition>` Work](/reference/react/ViewTransition#how-does-viewtransition-work) in the docs.
11460
+
작동 방식에 대해 자세히 알고 싶다면 문서에서 [`<ViewTransition>`의 작동 방식](/reference/react/ViewTransition#how-does-viewtransition-work)을 확인하세요.
11460
11461
11461
-
_For more background on how we built View Transitions, see: [#31975](https://github.com/facebook/react/pull/31975), [#32105](https://github.com/facebook/react/pull/32105), [#32041](https://github.com/facebook/react/pull/32041), [#32734](https://github.com/facebook/react/pull/32734), [#32797](https://github.com/facebook/react/pull/32797)[#31999](https://github.com/facebook/react/pull/31999), [#32031](https://github.com/facebook/react/pull/32031), [#32050](https://github.com/facebook/react/pull/32050), [#32820](https://github.com/facebook/react/pull/32820), [#32029](https://github.com/facebook/react/pull/32029), [#32028](https://github.com/facebook/react/pull/32028), and [#32038](https://github.com/facebook/react/pull/32038) by [@sebmarkbage](https://twitter.com/sebmarkbage) (thanks Seb!)._
11462
+
11463
+
_View Transition을 구축한 배경에 대한 자세한 내용은 다음을 참조하세요. [#31975](https://github.com/facebook/react/pull/31975), [#32105](https://github.com/facebook/react/pull/32105), [#32041](https://github.com/facebook/react/pull/32041), [#32734](https://github.com/facebook/react/pull/32734), [#32797](https://github.com/facebook/react/pull/32797)[#31999](https://github.com/facebook/react/pull/31999), [#32031](https://github.com/facebook/react/pull/32031), [#32050](https://github.com/facebook/react/pull/32050), [#32820](https://github.com/facebook/react/pull/32820), [#32029](https://github.com/facebook/react/pull/32029), [#32028](https://github.com/facebook/react/pull/32028), and [#32038](https://github.com/facebook/react/pull/32038) by [@sebmarkbage](https://twitter.com/sebmarkbage) (Seb 감사합니다!)_
0 commit comments