@zalkera/client 0.24.0 → 0.24.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/llms.txt +1 -1
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -847,7 +847,7 @@ export function merchantReturnPolicyJsonLd(config: SiteConfig, windowDays?: numb
|
|
|
847
847
|
안 돌고 `next build`(standalone) 산출물에서 페이지가 통째로 사라진다.
|
|
848
848
|
- ❌ **상품·후기·게시글 등 도메인 데이터를 하드코딩**(리터럴 배열·목업 후기 등). ✅ 반드시 `@zalkera/client`
|
|
849
849
|
로 조회한다. 계약에 없는 데이터(예: slug→productId 매핑이 없어 후기를 못 붙임)면 **하드코딩으로 때우지
|
|
850
|
-
말고 그 사실을 보고**한다. 하드코딩한 데이터는
|
|
850
|
+
말고 그 사실을 보고**한다. 하드코딩한 데이터는 미리보기·실사이트에서 실데이터와 갈라져 첫인상을 죽인다.
|
|
851
851
|
- ❌ **읽기 페이지를 요청마다 서버 렌더(SSR)**. ✅ SEO 페이지(홈·목록·상세·콘텐츠)는 **ISR**
|
|
852
852
|
(`export const revalidate = N`) 또는 static 으로 둔다 — page 레벨에서 `next/headers` 의
|
|
853
853
|
`cookies()`/`headers()`/`draftMode()`/`connection()`, `export const dynamic='force-dynamic'`,
|