9148c358d0
Topic_Agent/Topic_Blog/Topics/Topics_Biz/Topics_Meeting/Topics_Rag의 마크다운 지식 문서를 Topic_General/Topic_Programming/Topic_Graphic/Topic_Business 4개 카테고리로 재분류. - 중복 제거: frontmatter의 status:duplicate/merged + duplicate_of/redirect_to 필드로 자기 자신을 중복으로 선언한 리다이렉트 stub 1032개 제거, 완전 동일 내용 파일 472개 제거, 동일 파일명·다른 내용 충돌 시 더 큰(완전한) 버전만 유지(162개 제거) — 총 1639개 중복 제거. - 분류: 폴더 단위로 명확한 항목(AI_and_ML/Coding/Architecture 등 → Programming, Comfyui/Visual_Effects → Graphic, Topics_Biz/Topics_Meeting/사업 등 → Business, Poetic_Blog_Writing/창의성/Game_Design 등 → General)은 폴더 우선순위로, 나머지 혼재 폴더(Topic_Agent/Topic_Blog/Topics 루트/Thinking & Reasoning/Other/UI_UX_Assets)는 title/tags 키워드 스코어링으로 파일 단위 분류(불명확한 경우 General로 폴백). 원본 폴더명은 "From_*" 서브폴더로 보존해 추적 가능성 유지. - 최종 배치: Programming 2784 / General 1608 / Graphic 285 / Business 249 = 4926개 문서. - 에이전트 운영 상태(.astra/.agent/.obsidian/sessions/memory/_company/docs/lessons/_shared/src)는 지식 콘텐츠가 아니므로 재분류 대상에서 제외하고 원위치 유지. - Topics/Topic_email(상위 보호 폴더 Topic_email과 파일명 100% 중복) 삭제 — 보호 폴더 자체는 미변경. - 완전히 비게 된 Topic_Agent/Topic_Blog/Topics_Biz/Topics_Rag 폴더 제거.
4.9 KiB
4.9 KiB
id, title, category, status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, verification_status, tags, raw_sources, last_reinforced, github_commit, tech_stack
| id | title | category | status | canonical_id | aliases | duplicate_of | source_trust_level | confidence_score | verification_status | tags | raw_sources | last_reinforced | github_commit | tech_stack | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| wiki-2026-0508-frontend | Frontend | 10_Wiki/Topics | verified | self |
|
none | A | 0.9 | applied |
|
2026-05-10 | pending |
|
Frontend
매 한 줄
"매 user 의 매 device 에서 매 실행되는 매 모든 것 — 매 markup, 매 style, 매 behavior, 매 network.". 2026 의 매 frontend 는 매 React 19 + 매 RSC + 매 Vite/Turbopack + 매 Bun/Node + 매 Edge runtime 의 매 stack 에서 매 진화 중. Core Web Vitals + 매 a11y + 매 i18n 이 매 hygiene.
매 핵심
매 Layer
- Markup: HTML, semantic, a11y.
- Style: CSS — Cascade Layers, Container Queries,
:has(), OKLCH. - Behavior: JS/TS — framework (React/Vue/Svelte/Solid).
- Build: Vite, Turbopack, Bun, esbuild, swc.
- Runtime: Browser, Edge (Cloudflare Workers, Vercel), Node, Bun.
매 Framework landscape (2026)
- React 19: RSC + Actions + use() hook + Compiler.
- Next.js 15: App Router default, Turbopack stable.
- Astro 5: content site / island.
- SvelteKit 2 / Vue 3.5 + Nuxt 4 / Solid 2.
- Remix → React Router 7: data loading first.
매 Performance pillars
- LCP < 2.5s: image optimize, preconnect, fetchpriority.
- INP < 200ms: long task chunking, scheduler.yield.
- CLS < 0.1: dimension reserved, font-display swap.
- Bundle: route split, tree-shake, dynamic import.
매 Modern primitives
- CSS: container queries,
:has(), view transitions API, anchor positioning. - JS: scheduler.yield, AbortSignal.timeout, Temporal (stage 4 2026).
- HTML: popover, dialog, search.
- Network: HTTP/3, Early Hints, Speculation Rules.
매 응용
- SSR + RSC 로 매 SEO 기반 commerce.
- Edge personalization — 매 cookie / geo 기반.
- PWA + offline-first.
💻 패턴
View Transitions API (cross-document)
<meta name="view-transition" content="same-origin" />
<style>
::view-transition-old(hero) { animation: fade-out 0.3s; }
::view-transition-new(hero) { animation: fade-in 0.3s; }
.hero { view-transition-name: hero; }
</style>
Container query
.card { container-type: inline-size; }
@container (min-width: 400px) {
.card-body { display: grid; grid-template-columns: 1fr 1fr; }
}
React 19 Actions (form)
'use client';
async function submit(formData: FormData) {
'use server';
await db.insert(formData.get('msg') as string);
}
export default function Form() {
return <form action={submit}><input name="msg" /><button>Send</button></form>;
}
use() hook (React 19)
function Comments({ promise }: { promise: Promise<Comment[]> }) {
const comments = use(promise); // suspends
return <ul>{comments.map(c => <li key={c.id}>{c.text}</li>)}</ul>;
}
Image optimization (Next 15)
import Image from 'next/image';
<Image src="/hero.avif" width={1280} height={720} priority alt="" sizes="100vw" />
Speculation Rules (prerender)
<script type="speculationrules">
{
"prerender": [{ "where": { "selector_matches": "a.product" }, "eagerness": "moderate" }]
}
</script>
Scheduler.yield long task
async function process(items) {
for (const it of items) {
work(it);
if ('scheduler' in self) await scheduler.yield();
}
}
CSS cascade layers
@layer reset, base, components, utilities;
@layer reset { * { margin: 0; box-sizing: border-box; } }
@layer components { .btn { padding: 0.5rem 1rem; } }
매 결정 기준
| 상황 | Stack |
|---|---|
| 매 SEO content site | Astro 5 (zero JS default) |
| 매 SaaS dashboard | Vite + React 19 (CSR) |
| 매 commerce | Next 15 App Router (RSC + ISR) |
| 매 docs | Astro Starlight / Docusaurus |
| 매 marketing | Astro / 11ty |
| 매 realtime | React + WebSocket / Liveblocks |
기본값: Vite + React 19 + TS strict + ESLint + Vitest. 매 SSR 필요 시 매 Next 15.
🔗 Graph
- 응용: E-commerce
- Adjacent: React · Performance · Accessibility (A11y)
🤖 LLM 활용
언제: 매 stack 선택, 매 perf 진단, 매 pattern (RSC, Suspense, View Transitions) 적용. 언제 X: 매 backend-only — 매 다른 도메인.
❌ 안티패턴
- CSS-in-JS runtime: 매 INP 악화 (2026 모범: zero-runtime — Tailwind / vanilla-extract / Panda).
- Mega global state: 매 server vs client state 미분리.
- Polyfill 남발: 매 modern browser default — 매 baseline 활용.
- No a11y test: 매 axe-core CI 없음.
🧪 검증 / 중복
- Verified (web.dev, MDN baseline 2026, React 19 docs).
- 신뢰도 A.
🕓 Changelog
| 날짜 | 변경 |
|---|---|
| 2026-05-08 | Phase 1 |
| 2026-05-10 | Manual cleanup — 매 2026 stack + modern primitives |