1
Reactive record updates in front components
Source: twentyhq/twenty#23456 · opened by @remihuigen
Would it be possible to add a front-component hook that reacts to updates of the current record (or selected records)?
For example, we have a Company-record widget whose rendering and external data request depend on the current shape of the data. If a user updates either value through a pinned field, the widget remains stale because useSelectedRecordIds() only changes when the selected record changes.
A hook such as useCurrentRecord(selector) or useRecordChanges(recordId, fields) could support this and other reactive record-page widget use cases without polling or custom WebSocket infrastructure.
For example, we have a Company-record widget whose rendering and external data request depend on the current shape of the data. If a user updates either value through a pinned field, the widget remains stale because useSelectedRecordIds() only changes when the selected record changes.
A hook such as useCurrentRecord(selector) or useRecordChanges(recordId, fields) could support this and other reactive record-page widget use cases without polling or custom WebSocket infrastructure.
No pledges yet. Be the first to back this.
Comments
Similar requests
Feature request: interpolate record-context variables in IFRAME page-layout widget URLs (e.g. {{record.id}}, {{record.fieldName}})
1 vote · 0 comments
Add conditional field formatting for numeric table and record fields
3 votes · 0 comments
Attach an email to a person
3 votes · 0 comments
App ecosystem: inline document preview inside record pages (DocumentViewer is modal-only)
1 vote · 0 comments
Trace specific invocations of workflows - find workflow runs for a given record
1 vote · 0 comments
No comments yet.