convex-realtime

Build reactive frontend components with Convex real-time subscriptions and caching.

23|5|Updated Nov 5, 2025
One-click install
npx skills add https://github.com/JStaRFilms/VibeCode-Protocol-Suite --skill convex-realtime-jstarfilms
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-realtime
Source: https://github.com/JStaRFilms/VibeCode-Protocol-Suite/tree/main/assets/.agent/skills/convex-realtime
Command: npx skills add https://github.com/JStaRFilms/VibeCode-Protocol-Suite --skill convex-realtime-jstarfilms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build reactive applications with real-time subscriptions, optimistic updates, caching, and cursor-based pagination.

Core Features & Use Cases

  • Automatic Subscriptions: useQuery creates a subscription that updates automatically
  • Smart Caching: Query results are cached and shared across components
  • Consistency: All subscriptions see a consistent view of the database
  • Efficient Updates: Only re-renders when relevant data changes
  • Conditional Queries: Demonstrates conditional use with skip semantics
  • Mutations with Real-time Updates: Demonstrates how mutations trigger updates

Quick Start

Install Convex Realtime skill and start integrating real-time data streams into your UI.

Frequently Asked Questions about convex-realtime

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up real-time subscriptions in React for live data streams?

Real-time subscriptions in React use the useQuery hook to create automatic subscriptions that update UI components whenever database data changes, maintaining a consistent data view across multiple screens.

How does optimistic updates work with real-time mutations in frontend applications?

Optimistic updates with real-time mutations allow your frontend to immediately reflect changes while the mutation processes. The subscription automatically syncs the UI once the database confirms the update, ensuring efficient re-renders only when relevant data changes.

Can I implement cursor-based pagination with real-time subscriptions?

Yes, you can implement cursor-based pagination with real-time subscriptions. This allows your reactive application to load data incrementally while maintaining automatic updates and a consistent database view across multiple screens.

Does this subscription approach support conditional queries with skip semantics?

Yes, conditional queries are supported using skip semantics. This allows your frontend components to conditionally pause or skip real-time data subscriptions when the query parameters are not yet available or required.

How do smart caching and shared query results improve re-renders in reactive apps?

Smart caching shares query results across multiple frontend components, ensuring efficient updates by only triggering re-renders when relevant data changes. This prevents unnecessary rendering cycles and maintains data consistency.