1774315861

This commit is contained in:
Docker7530
2026-03-24 09:31:04 +08:00
parent 7ab924d668
commit ab0cbad418
19 changed files with 412 additions and 132 deletions
@@ -708,6 +708,15 @@ export default function App() {
```
---
| 模式 | 英文 | 中文 | 类比 | 特点 | SEO |
| --- | ----------------------- | ----------- | ---------------- | -------------------- | -------- |
| CSR | Client-Side Rendering | 客户端渲染 | 外卖(现点+等) | 慢启动,但灵活 | ❌ |
| SSR | Server-Side Rendering | 服务端渲染 | 餐厅现做 | 平衡(快+动态) | ✅ |
| SSG | Static Site Generation | 静态站点生成 | 预制菜 | 极快,但不灵活 | ✅ |
| RSC | React Server Components | React 服务端组件 | 后厨分工(部分菜在厨房直接处理) | 组件在服务器执行,不进浏览器,减少 JS | ⚠️(间接有利) |
# CSS
顶级作用域