liveblocks-best-practices
CommunityShip realtime collaboration confidently.
System Documentation
What problem does it solve?
Helps developers integrate, debug, and harden Liveblocks-powered realtime collaboration features by consolidating authentication patterns, room and organization design, editor integration guidance, performance tuning, and error-handling best practices to reduce production incidents and integration friction.
Core Features & Use Cases
- Authentication & Permissions: Recommended flows for ID tokens and access tokens, auth endpoints, session patterns, and room permission strategies.
- Realtime Storage & Multiplayer: Guidance for Liveblocks Storage, Yjs considerations, subdocuments, and building custom multiplayer primitives.
- Editors & Integrations: Best practices for Tiptap, BlockNote, and Lexical (StarterKit, SSR handling, initial content, offline support).
- Comments, Notifications & Threads: How to resolve users, trigger custom inbox notifications, and send comment notification emails.
- Performance, Reliability & Tooling: Strategies for presence throttling, connection handling, DevTools usage, avoiding user limits, and preventing duplicated Yjs imports.
- AI & Copilots: Patterns for AI collaborators, AI chats with tools and knowledge, and integrating Copilots into collaborative workflows.
Quick Start
Diagnose authentication, room permission, and connection errors for my Liveblocks React app using the best-practices references and apply the recommended fixes for tokens, room creation, and provider configuration.
Dependency Matrix
Required Modules
None requiredComponents
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: liveblocks-best-practices Download link: https://github.com/rally19/goform/archive/main.zip#liveblocks-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.