What are real-time updates?
Real-time updates mean changes appear instantly for all users without refreshing the page. When someone adds a deal, updates a task, or deletes a contact, everyone sees the change immediately.How it works
Gainable apps use WebSocket connections to push updates:- User A creates a new task
- Server saves the task to the database
- Server broadcasts “new task created” to all connected users
- User B’s screen updates automatically to show the new task
This happens in milliseconds - changes feel instantaneous.
What updates in real-time?
By default, these actions trigger real-time updates:| Action | What happens |
|---|---|
| Create | New item appears in lists and counts update |
| Update | Changed item refreshes with new values |
| Delete | Item disappears from all views |
- List views and tables
- Dashboard KPIs and charts
- Kanban board cards
- Detail views
Requesting real-time features
Real-time is built into Gainable apps by default. To emphasize it:Use cases
Collaborative dashboards
Multiple team members viewing the same dashboard see updates as data changes:- New deals added to pipeline
- Status changes on tasks
- KPI totals recalculating
Kanban boards
When someone drags a card to a new column:- All users see the card move
- Column counts update
- No page refresh needed
Activity feeds
Real-time is especially useful for:- Team activity logs
- Comment threads
- Notification counts
What doesn’t update in real-time
Some things require a page refresh:- Navigation changes - New pages or routes added
- Layout changes - Structural modifications to the UI
- Filter states - Your current filter selections stay the same
Performance considerations
Real-time updates are optimized for typical use:- Efficient updates - Only changed data is sent
- Smart rendering - Only affected components re-render
- Connection management - Automatic reconnection if disconnected
Combining with other features
Real-time updates work seamlessly with:Charts
Kanban boards
Collaboration
Troubleshooting
Changes not appearing?
- Check your internet connection
- Try refreshing the page once
- Ensure you’re looking at the same data (filters, etc.)
Updates seem delayed?
- High network latency can cause slight delays
- Large data changes may take a moment to process
- Complex views may have brief rendering delays