Skip to content

fix: 사이드바 광고 layout shift 수정#37

Merged
sdk-kr merged 2 commits into
damoang:mainfrom
unstable-code:fix/layout-shift-sticky-ads
Dec 23, 2025
Merged

fix: 사이드바 광고 layout shift 수정#37
sdk-kr merged 2 commits into
damoang:mainfrom
unstable-code:fix/layout-shift-sticky-ads

Conversation

@unstable-code
Copy link
Copy Markdown
Collaborator

@unstable-code unstable-code marked this pull request as ready for review December 23, 2025 09:01
@unstable-code unstable-code requested a review from sdk-kr December 23, 2025 09:01
Copy link
Copy Markdown
Contributor

@sdk-kr sdk-kr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

감사합니다.

@sdk-kr sdk-kr merged commit 6673d0a into damoang:main Dec 23, 2025
16 checks passed
@unstable-code unstable-code deleted the fix/layout-shift-sticky-ads branch December 23, 2025 12:06
sdk-kr pushed a commit that referenced this pull request Mar 7, 2026
sdk-kr pushed a commit that referenced this pull request Apr 20, 2026
backend PR #438 + premium PR #37 inline 데이터 활용.
글 상세 페이지의 post.author_memo로 memo-store cache 미리 채워 별도 fetch 회피.

변경:
- preloadMemos optional 함수 동적 import 추가
- $effect: preloadMemos([data.post]) — post 작성자 memo cache 등록
- memo-badge mount 시 cache hit → loadMemo() fetch 발생 안 함

호환성:
- preloadMemos 없으면 기존 loadMemosForAuthors fallback (PR #1252 패턴)
- author_memo 없으면 null 등록 → 메모 없음 표시 정상
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

레이아웃 시프트(Layout Shift) 발생 문제

2 participants