-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
How about Cedar supports cells that instead of just firing off a gql query when they load, they set up a subscription (or a live query). So that their data is always up-to-date.
It'd be cool if they could just detect if there's a second subscription query exported in the cell, and then also wire up useSubscription() in addition to useQuery()
Outstanding questions:
- Are all the same states needed as for regular queries?
- How do we make sure users don't over-reach for subscriptions (when a simple polling solution would suffice)
- What would support for live queries look like?
- What updates would be needed to our generators?
Metadata
Metadata
Assignees
Labels
No labels