Multiplayer Experiences with React
summary
Built a Next.js Conf hero where players place framework-feature blocks into letters using LiveBlocks for websocket-backed shared state, and the demo uses per-ID subscriptions plus memoization to avoid full re-renders. Conflict resolution makes one client the host by a device score (GPU, battery, tab) and bots stress-test behavior. A separate racing prototype runs on a Particle/PRJS server that batches updates to throttle traffic and interpolates positions; stress tests reach about 86 concurrent users and the project is open source at webby.nxjs.org.
AI-written summary Β· about
chapters (6)
- 0:00Introduction and project case
- 1:51Liveblocks and shared state
- 3:50Performance optimization
- 7:54Managing multiplayer logic
- 11:15PartyKit and server-side state
- 15:37Peer-to-peer and conclusion
related talks
27mMaking Games With React and Redux
36mReact and the Art of Gamification
18mRealtime HTML5 Multiplayer Games with NodeJS
35mGoing fullstack React(ive)
38mBuilding Isomorphic Web Applications with React
09mMake your Next.js app realtime and collaborative
38mReact as a Developer Health Tool
29mThrow away your Xbox - The future of games is written in React
