임동욱 임동욱 08-10
Merge branch 'feature/remove-view-transition' into integration/remove-view-transition
@bc26380ecbd5c20571034b88619bb92226171d74
 
app/_types/react-canary.d.ts (deleted)
--- app/_types/react-canary.d.ts
@@ -1,4 +0,0 @@
-// App Router는 React canary 릴리스로 빌드된다(Next.js가 내부적으로 번들) — stable
-// `react` 패키지의 타입에는 없는 `ViewTransition` 등의 타입을 로드하기 위한 참조 전용 파일이다.
-// 런타임 산출물은 없다. tsconfig의 `types` 배열 변경 없이 트리플 슬래시 참조만으로 전역 로드된다.
-/// <reference types="react/canary" />
app/layout.tsx
--- app/layout.tsx
+++ app/layout.tsx
@@ -1,7 +1,6 @@
 import type { Metadata } from "next";
 import { Geist_Mono } from "next/font/google";
 import localFont from "next/font/local";
-import { ViewTransition } from "react";
 import { FeedbackHost } from "@/app/_components/feedback-host";
 import { FeedbackProvider } from "@/app/_components/feedback-provider";
 import { SplashGate } from "@/app/_components/splash-gate";
@@ -118,10 +117,7 @@
       <body className="min-h-full flex flex-col">
         <SplashGate />
         <FeedbackProvider>
-          {/* 라우트 그룹 간 이동을 포함한 모든 전환에 크로스페이드를 적용한다. 클래스명(layout-transition)에
-              대한 `::view-transition-old/new` 규칙은 design 레인이 app/globals.css에 제공한다. */}
-          <ViewTransition default="layout-transition">{children}</ViewTransition>
-          {/* 피드백 오버레이는 전환 크로스페이드 대상이 아니므로 ViewTransition 바깥에 둔다. */}
+          {children}
           <FeedbackHost />
         </FeedbackProvider>
       </body>
next.config.ts
--- next.config.ts
+++ next.config.ts
@@ -19,11 +19,6 @@
 ];
 
 const nextConfig: NextConfig = {
-  // 라우트 전환 애니메이션(React `<ViewTransition>`, app/layout.tsx) 활성화 — Next.js 공식
-  // 가이드(view-transitions.md) 권장 방식. 미지원 브라우저에서는 애니메이션 없이 정상 동작한다.
-  experimental: {
-    viewTransition: true,
-  },
   async headers() {
     return [
       {
Add a comment
List