TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

WebSockets with React Server Components

1 点作者 andes3147 个月前

1 comment

andes3147 个月前
This is a showcase of <a href="https:&#x2F;&#x2F;github.com&#x2F;rodlaf&#x2F;fun">https:&#x2F;&#x2F;github.com&#x2F;rodlaf&#x2F;fun</a>, a fun way I found of learning to work with websockets and react server components in one go. Colors are a shared state between all users, and the initial colors are rendered using RSC on the server. Let me know what you think.