convex-realtime

Implement Convex real-time subscriptions, optimistic updates, and cursor-based pagination.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/FlorinSenoner/the-dahan-codex --skill convex-realtime-florinsenoner
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: convex-realtime
Source: https://github.com/FlorinSenoner/the-dahan-codex/tree/main/.agents/skills/convex-realtime
Command: npx skills add https://github.com/FlorinSenoner/the-dahan-codex --skill convex-realtime-florinsenoner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the development of real-time, reactive applications by providing patterns and best practices for leveraging Convex's powerful features like subscriptions, optimistic updates, and pagination.

Core Features & Use Cases

  • Real-time Data: Automatically update UI components as data changes in the database using useQuery.
  • Optimistic Updates: Enhance user experience by showing immediate feedback for mutations before server confirmation.
  • Efficient Data Loading: Implement cursor-based pagination and infinite scrolling for handling large datasets.
  • Use Case: Building a live chat application where messages appear instantly for all users, or a task management tool where changes are reflected immediately across all connected clients.

Quick Start

Use the convex-realtime skill to implement basic subscriptions for fetching and displaying real-time data in a React component.

Frequently Asked Questions about convex-realtime

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

FAQPage Schema
How do I implement real-time data subscriptions in a React app?▼

Implement real-time data subscriptions using the Convex useQuery hook to automatically fetch and update UI components whenever database changes occur.

What's the best way to handle optimistic updates for mutations?▼

Handle optimistic updates for mutations by showing immediate UI feedback before server confirmation, enhancing user experience while waiting for the server response.

How does cursor-based pagination work for loading large datasets?▼

Cursor-based pagination uses the usePaginatedQuery hook to load large datasets efficiently, fetching subsequent data pages based on a cursor position for infinite scrolling.

Can I use Convex for building a live chat application?▼

Yes, you can use Convex for building a live chat application where messages appear instantly for all users through real-time data synchronization and reactive query subscriptions.

Does Convex support state management and cache behavior for reactive apps?▼

Convex supports state management and cache behavior for reactive apps by providing client-side hooks with best practices to manage subscription data and optimize performance.