返回节目列表

React Server Components 深度解析

() => { const hours = Math.floor(duration() / 3600); const minutes = Math.floor(duration() % 3600 / 60); const seconds = Math.floor(duration() % 60); return hours > 0 ? `${hours}:${minutes.toString().padStart(2, "0")}:${seconds.toString().padStart(2, "0")}` : `${minutes}:${seconds.toString().padStart(2, "0")}`; } 播放次数: 15,890
React Server Components 深度解析

探讨 React Server Components 的原理和实践,以及它如何改变我们构建 Web 应用的方式。

ReactServer Components技术

音频播放

() => { const hours = Math.floor(store_get($$store_subs ??= {}, "$player", player).currentTime / 3600); const minutes = Math.floor(store_get($$store_subs ??= {}, "$player", player).currentTime % 3600 / 60); const seconds = Math.floor(store_get($$store_subs ??= {}, "$player", player).currentTime % 60); return hours > 0 ? `${hours}:${minutes.toString().padStart(2, "0")}:${seconds.toString().padStart(2, "0")}` : `${minutes}:${seconds.toString().padStart(2, "0")}`; } () => { const hours = Math.floor(duration() / 3600); const minutes = Math.floor(duration() % 3600 / 60); const seconds = Math.floor(duration() % 60); return hours > 0 ? `${hours}:${minutes.toString().padStart(2, "0")}:${seconds.toString().padStart(2, "0")}` : `${minutes}:${seconds.toString().padStart(2, "0")}`; }

节目笔记

## 本期内容 - RSC 的核心概念 - 与传统 SSR 的区别 - 实际应用场景 - 性能对比分析 ## 时间线 00:00 - 开场介绍 06:00 - RSC 原理 18:30 - 实践案例 35:00 - 性能对比 48:00 - 未来展望