TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

WebSockets with React Server Components

1 pointsby andes3148 months ago

1 comment

andes3148 months ago
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.